X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fbuildd-prepare-dir;h=cc2ee10846847865f470913f94f1c02e116f8e7c;hb=5ef4bd176b8e8b9ac2bf66d09db0dfe12281177a;hp=0c1f08ba93662c4be83f1e6993cca5dcfeba68c4;hpb=b47b40e1305aa6a3c407ea532f47564d0e120dca;p=dak.git diff --git a/scripts/debian/buildd-prepare-dir b/scripts/debian/buildd-prepare-dir index 0c1f08ba..cc2ee108 100755 --- a/scripts/debian/buildd-prepare-dir +++ b/scripts/debian/buildd-prepare-dir @@ -28,8 +28,6 @@ set -E export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars . $SCRIPTVARS -umask 027 - # And use one locale, no matter what the caller has set export LANG=C export LC_ALL=C @@ -40,6 +38,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" @@ -57,6 +56,6 @@ cd ${TARGET} 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" +SIGNINGKEY=B1326A8D +GNUPGHOME=${GNUPGHOME} gpg --no-options --batch --no-tty --armour --default-key ${SIGNINGKEY} --clearsign -o "${TARGET}/sha512sums.txt" "${TARGET}/sha512sums" rm -f ${TARGET}/sha512sums