]> git.decadent.org.uk Git - dak.git/commitdiff
and use a gnupghome
authorJoerg Jaspert <joerg@debian.org>
Fri, 25 Mar 2011 18:14:24 +0000 (19:14 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 25 Mar 2011 18:14:24 +0000 (19:14 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
scripts/debian/buildd-prepare-dir

index 0c1f08ba93662c4be83f1e6993cca5dcfeba68c4..f43624a374a182ef8475271cc14c8147464cf051 100755 (executable)
@@ -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