mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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"
|
whine "checking for version $v"
|
||||||
for f in $files; do
|
for f in $files; do
|
||||||
grep $opts -EHio "(VERSION=|subsurface[[:blank:]]+)?\<v?$v\>" $f || {
|
grep $opts -EHio "(VERSION=|subsurface[[:blank:]]+)?\<v?$v\>" $f || {
|
||||||
msg="'$f' may need updating"
|
[ $release != y ] || sts=1
|
||||||
if [ $release = y ]; then
|
whine "'$f' may need updating"
|
||||||
croak "$msg"
|
|
||||||
else
|
|
||||||
whine "$msg"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
exit $sts
|
||||||
|
|
Loading…
Add table
Reference in a new issue