Build: correct verify script (#18236)

Follow-up for 4b16cd6cc8
This commit is contained in:
Oleg Gaidarenko 2019-07-23 16:47:50 +03:00 committed by GitHub
parent 31547597d3
commit ba46cf40e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,13 +5,12 @@ _files=$*
ALL_SIGNED=0 ALL_SIGNED=0
for file in $_files; do for file in $_files; do
if rpm -K "$file" | grep "pgp.*OK" -q; then if rpm -K "$file" | grep "pgp.*OK" -q ; then
echo "$file" OK
else
ALL_SIGNED=1 ALL_SIGNED=1
echo "$file" NOT SIGNED echo "$file" NOT SIGNED
else
echo "$file" OK
fi fi
done done
exit $ALL_SIGNED exit $ALL_SIGNED