From b994b534c50932f6318bf4e9d40fdc0e1845cb7d Mon Sep 17 00:00:00 2001 From: Cristian Ionescu-Idbohrn Date: Sun, 12 May 2013 11:51:14 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- scripts/check-version | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/check-version b/scripts/check-version index 66ee0861d..29719a76f 100755 --- a/scripts/check-version +++ b/scripts/check-version @@ -77,7 +77,9 @@ done sts=0 whine "checking for version $v" for f in $files; do - grep $opts -EHi "(VERSION=|subsurface[[:blank:]]+)?\" $f || { + grep -EH $opts \ + -e "(VERSION=|[Ss]ubsurface[[:blank:]]+)?\" \ + $f || { [ $release != y ] || sts=1 whine "'$f' may need updating" } -- cgit v1.2.3-70-g09d2