From 76eb67a0a0228d33ab4db9106bf9233f86d6ec0e Mon Sep 17 00:00:00 2001 From: Cristian Ionescu-Idbohrn Date: Sun, 12 May 2013 11:48:35 +0200 Subject: Show all files that may need updating. Signed-off-by: Cristian Ionescu-Idbohrn Signed-off-by: Dirk Hohndel --- scripts/check-version | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/check-version b/scripts/check-version index 53a9a8412..a6f1f211a 100755 --- a/scripts/check-version +++ b/scripts/check-version @@ -67,11 +67,9 @@ sts=0 whine "checking for version $v" for f in $files; do grep $opts -EHio "(VERSION=|subsurface[[:blank:]]+)?\" $f || { - msg="'$f' may need updating" - if [ $release = y ]; then - croak "$msg" - else - whine "$msg" - fi + [ $release != y ] || sts=1 + whine "'$f' may need updating" } done + +exit $sts -- cgit v1.2.3-70-g09d2