Match less; don't ignore case.

Still, some false positives show up ('Veo 3.0' is one of them).

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Cristian Ionescu-Idbohrn 2013-05-12 11:51:14 +02:00 committed by Dirk Hohndel
parent 6d19e9c7ea
commit b994b534c5

View file

@ -77,7 +77,9 @@ done
sts=0
whine "checking for version $v"
for f in $files; do
grep $opts -EHi "(VERSION=|subsurface[[:blank:]]+)?\<v?$v[.0-9]*\>" $f || {
grep -EH $opts \
-e "(VERSION=|[Ss]ubsurface[[:blank:]]+)?\<v?$v[.0-9]*\>" \
$f || {
[ $release != y ] || sts=1
whine "'$f' may need updating"
}