diff options
author | Allan McRae <allan@archlinux.org> | 2011-07-20 06:19:53 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-27 19:47:37 +0200 |
commit | d9875c5e6cbc0b59a4ba7c56e974da3d138f235d (patch) | |
tree | 12c98df5c875e08d12804854ce4f0904f30df8a9 | |
parent | 49d9426b6a3e6a019a0973ec73b0ff6cf402fa89 (diff) | |
download | pacman-d9875c5e6cbc0b59a4ba7c56e974da3d138f235d.tar.gz pacman-d9875c5e6cbc0b59a4ba7c56e974da3d138f235d.tar.xz |
pacman-key: fix syntax error in -r arg parsing
Previous fix did not work...
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | scripts/pacman-key.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in index 5cb5bd51..61b846b1 100644 --- a/scripts/pacman-key.sh.in +++ b/scripts/pacman-key.sh.in @@ -310,7 +310,7 @@ while true; do --gpgdir) shift; PACMAN_KEYRING_DIR=$1 ;; --init) INIT=1 ;; -l|--list) LIST=1 ;; - -r|--receive) RECEIVE=1; shift; KEYSERVER=$1; KEYIDS=("${@:1}") ;; + -r|--receive) RECEIVE=1; shift; TMP=($1); KEYSERVER=${TMP[0]}; KEYIDS=(${TMP[@]:1}); unset TMP;; --reload) RELOAD=1 ;; -u|--updatedb) UPDATEDB=1 ;; -v|--verify) VERIFY=1; shift; SIGNATURE=$1 ;; |