summaryrefslogtreecommitdiff
path: root/cmdline/apt-key
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-10-05 21:51:07 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-10-05 21:51:07 +0200
commit04a8d1205d87c085ff6349d7e7824c5571282dba (patch)
treecb726dbcb7eaf0c398eb0d2762d8a775d7df3963 /cmdline/apt-key
parentf180f39e94c189799b0a0668de801519a5a6108d (diff)
cmdline/apt-key: use MASTER instead of MASTER_KEYRING as the former is the argument of the function
Diffstat (limited to 'cmdline/apt-key')
-rwxr-xr-xcmdline/apt-key2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-key b/cmdline/apt-key
index 9c7804d5b..7bfe47fca 100755
--- a/cmdline/apt-key
+++ b/cmdline/apt-key
@@ -67,7 +67,7 @@ add_keys_with_verify_against_master_keyring() {
# check if signed with the master key and only add in this case
ADDED=0
for master_key in $master_keys; do
- if $GPG_CMD --keyring $MASTER_KEYRING --keyring $TMP_KEYRING --check-sigs --with-colons $add_key | grep '^sig:!:' | cut -d: -f5 | grep -q $master_key; then
+ if $GPG_CMD --keyring $MASTER --keyring $TMP_KEYRING --check-sigs --with-colons $add_key | grep '^sig:!:' | cut -d: -f5 | grep -q $master_key; then
$GPG --import $TMP_KEYRING
ADDED=1
fi