diff options
author | Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> | 2013-05-12 11:48:35 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-12 07:23:44 -0700 |
commit | 76eb67a0a0228d33ab4db9106bf9233f86d6ec0e (patch) | |
tree | 033909e46550ea198fb224b153dda11f94f72f2f | |
parent | 20f086c4a84d78434ea4420c56cc2c80791905a3 (diff) | |
download | subsurface-76eb67a0a0228d33ab4db9106bf9233f86d6ec0e.tar.gz |
Show all files that may need updating.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rwxr-xr-x | scripts/check-version | 10 |
1 files 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:]]+)?\<v?$v\>" $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 |