From: Joerg Jaspert Date: Fri, 25 Mar 2011 18:14:24 +0000 (+0100) Subject: and use a gnupghome X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=862bfc88c0795a3fe11c4829929cecd9fffda06a;p=dak and use a gnupghome Signed-off-by: Joerg Jaspert --- diff --git a/scripts/debian/buildd-prepare-dir b/scripts/debian/buildd-prepare-dir index 0c1f08ba..f43624a3 100755 --- a/scripts/debian/buildd-prepare-dir +++ b/scripts/debian/buildd-prepare-dir @@ -40,6 +40,7 @@ PROGRAM="buildd-prepare-dir" # should be relative to the general base dir later COPYTARGET="${base}/keyrings" +GNUPGHOME="${base}/s3kr1t/dot-gnupg" base="${base}/scripts/builddkeyrings" TARGET="${base}/keyrings" REMOVED="${base}/removed-buildd-keys.gpg" @@ -58,5 +59,5 @@ sha512sum keyrings/* > sha512sums rm -f ${TARGET}/sha512sums.txt SIGNINGKEY=$(dak admin c signingkeyids) -gpg --no-options --batch --no-tty --armour --default-key ${SIGNINGKEY} --clearsign -o "${TARGET}/sha512sums.txt" "${TARGET}/sha512sums" +GNUPGHOME=${GNUPGHOME} gpg --no-options --batch --no-tty --armour --default-key ${SIGNINGKEY} --clearsign -o "${TARGET}/sha512sums.txt" "${TARGET}/sha512sums" rm -f ${TARGET}/sha512sums