]> git.decadent.org.uk Git - dak.git/commitdiff
no need for extra step
authorJoerg Jaspert <joerg@debian.org>
Mon, 28 Mar 2011 19:12:00 +0000 (21:12 +0200)
committerJoerg Jaspert <joerg@debian.org>
Mon, 28 Mar 2011 19:12:00 +0000 (21:12 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
scripts/debian/buildd-add-keys
scripts/debian/buildd-remove-keys

index 26fc1f3f3e6c65edf0db2ac28d7fe92de0abc0e5..2100f590c6a9000e708983eb08ffea60c8a091af 100755 (executable)
@@ -43,8 +43,7 @@ function cleanup() {
     trap - ERR EXIT TERM HUP INT QUIT
 
     for TEMPFILE in GPGSTATUS GPGLOGS GPGOUTF TEMPKEYDATA; do
-        TFILE=${TEMPFILE:=$TEMPFILE}
-        DELF=${!TFILE:-""}
+        DELF=${!TEMPFILE:-""}
         if [ -n "${DELF}" ] && [ -f "${DELF}" ]; then
             rm -f "${DELF}"
         fi
index b9b2ecfea7907160bf644cfefb58800dd9fdcdcc..ecd859d06192217d48f9b627d9ac4d0ab3729627 100755 (executable)
@@ -43,8 +43,7 @@ function cleanup() {
     trap - ERR EXIT TERM HUP INT QUIT
 
     for TEMPFILE in GPGSTATUS GPGLOGS GPGOUTF TEMPKEYDATA; do
-        TFILE=${TEMPFILE:=$TEMPFILE}
-        DELF=${!TFILE:-""}
+        DELF=${!TEMPFILE:-""}
         if [ -n "${DELF}" ] && [ -f "${DELF}" ]; then
             rm -f "${DELF}"
         fi