Added --batch parameter

Added --batch parameter to gpg2 to remove the prompt and pass the gpgPass variable
This commit is contained in:
Antonio Faccioli 2020-08-14 17:28:55 +02:00 committed by GitHub
parent ca98fb28cd
commit 04d8bb1dbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -449,7 +449,7 @@ fi
set -x
if [[ $optSignature == "Y" ]] ; then
for i in $(find . -name "*.AppImage*" -print;); do gpg2 -b --armor --passphrase "$gpgPass" "${i}"; done || true
for i in $(find . -name "*.AppImage*" -print;); do gpg2 -b --batch --armor --passphrase "$gpgPass" "${i}"; done || true
fi
mkdir -p ../out/ || true