]> git.saurik.com Git - apt.git/commitdiff
cmdline/apt-key: use MASTER instead of MASTER_KEYRING as the former is the argument...
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 5 Oct 2011 19:51:07 +0000 (21:51 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 5 Oct 2011 19:51:07 +0000 (21:51 +0200)
cmdline/apt-key

index 9c7804d5b47961af0ad7edb390fda3f1677a577d..7bfe47fca3ce03b1d64ef3080fe032340d6396a9 100755 (executable)
@@ -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
         # 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
                $GPG --import $TMP_KEYRING
                ADDED=1
            fi