index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2016-02-26 15:01:11 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-02-26 15:18:43 +1000 |
commit | d4f499f5638a68a3b7e17c5171aabdf535b79bd4 (patch) | |
tree | 1833d3b7604f6de7e01f5372c356a4f452a963aa /scripts | |
parent | df5dc0c9debcf40bd9fd00a1d64a2e1ee483a3dd (diff) |
-rw-r--r-- | scripts/libmakepkg/util/util.sh | 2 |
diff --git a/scripts/libmakepkg/util/util.sh b/scripts/libmakepkg/util/util.sh index 675e75de..f9f1c200 100644 --- a/scripts/libmakepkg/util/util.sh +++ b/scripts/libmakepkg/util/util.sh @@ -46,7 +46,7 @@ is_array() { local shellopts=$(shopt -p) shopt -s extglob - if [[ $(declare -p "$i") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]]; then + if [[ $(declare -p "$v") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]]; then ret=0 fi |