aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sign-autobuilds.sh')
-rwxr-xr-xsign-autobuilds.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/sign-autobuilds.sh b/sign-autobuilds.sh
index 8eacfe5..32c75c4 100755
--- a/sign-autobuilds.sh
+++ b/sign-autobuilds.sh
@@ -12,6 +12,7 @@ RELEASES=/var/tmp/gmirror-releases/releases/
DEBUG=''
VERBOSE=''
+GPG='gpg --homedir /home/gmirror/.gnupg-releng/ --batch --no-tty'
# Do not change
DEBUGP=
@@ -26,13 +27,13 @@ VERBOSEP=false
signone() {
f="$1"
- $DEBUGP gpg --homedir /home/gmirror/.gnupg-releng/ --armor --detach-sign "${f}"
+ $DEBUGP ${GPG} --armor --detach-sign "${f}"
}
signone_clearsign() {
# only for text files!
f="$1"
- $DEBUGP gpg --homedir /home/gmirror/.gnupg-releng/ --armor --clearsign "${f}"
+ $DEBUGP ${GPG} --armor --clearsign "${f}"
$DEBUGP mv "${f}".asc "${f}"
}