mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
20f086c4a8
commit
76eb67a0a0
1 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue