]> git.saurik.com Git - apt.git/commitdiff
you want to be nice and quote a filename just to be reminded by gpg
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 23 Jul 2011 09:50:49 +0000 (11:50 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 23 Jul 2011 09:50:49 +0000 (11:50 +0200)
that it doesn't like that… remove superficial quoting to fix apt-key

cmdline/apt-key

index 8a995dadd701840c8d97cf04034b59acb462251b..e632be706c49c581d3d9593ec3e48e2a9ec9c34d 100755 (executable)
@@ -7,7 +7,7 @@ unset GREP_OPTIONS
 # implodes if there isn't one available
 SECRETKEYRING="$(mktemp)"
 trap "rm -f '${SECRETKEYRING}'" 0 HUP INT QUIT ILL ABRT FPE SEGV PIPE TERM
-GPG_CMD="gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring '${SECRETKEYRING}'"
+GPG_CMD="gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring ${SECRETKEYRING}"
 
 if [ "$(id -u)" -eq 0 ]; then
        # we could use a tmpfile here too, but creation of this tends to be time-consuming