From: David Kalnischkies Date: Sat, 23 Jul 2011 09:50:49 +0000 (+0200) Subject: you want to be nice and quote a filename just to be reminded by gpg X-Git-Tag: 0.8.15.3^2~11 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/331eea386e2bb57af6dbb9f1c86f176b2d55c6a1 you want to be nice and quote a filename just to be reminded by gpg that it doesn't like that… remove superficial quoting to fix apt-key --- diff --git a/cmdline/apt-key b/cmdline/apt-key index 8a995dadd..e632be706 100755 --- a/cmdline/apt-key +++ b/cmdline/apt-key @@ -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