Kaynağa Gözat

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

David Kalnischkies 15 yıl önce
ebeveyn
işleme
331eea386e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      cmdline/apt-key

+ 1 - 1
cmdline/apt-key

@@ -7,7 +7,7 @@ unset GREP_OPTIONS
 # implodes if there isn't one available
 # implodes if there isn't one available
 SECRETKEYRING="$(mktemp)"
 SECRETKEYRING="$(mktemp)"
 trap "rm -f '${SECRETKEYRING}'" 0 HUP INT QUIT ILL ABRT FPE SEGV PIPE TERM
 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
 if [ "$(id -u)" -eq 0 ]; then
 	# we could use a tmpfile here too, but creation of this tends to be time-consuming
 	# we could use a tmpfile here too, but creation of this tends to be time-consuming