diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-19 20:25:16 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-21 22:05:30 +0200 |
commit | 2bd1687f51b51b21fa6a28a9d91d8509fb7c7c9f (patch) | |
tree | 8666734f50fe45b4177d04a3e79d3d8d19ecc207 /scripts | |
parent | 9f500f684d7db93c235d701be8d948402fd3b7ef (diff) | |
download | pacman-2bd1687f51b51b21fa6a28a9d91d8509fb7c7c9f.tar.gz pacman-2bd1687f51b51b21fa6a28a9d91d8509fb7c7c9f.tar.xz |
pacman-key: fix syntax error in -r arg parsing
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-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 cbff7c43..6c3c4718 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[0]}"; KEYIDS=("${1[@]:1}") ;; + -r|--receive) RECEIVE=1; shift; KEYSERVER=$1; KEYIDS=("${@:1}") ;; --reload) RELOAD=1 ;; -u|--updatedb) UPDATEDB=1 ;; -v|--verify) VERIFY=1; shift; SIGNATURE=$1 ;; |