index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-06-19 16:26:35 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-08-10 12:37:20 +1000 |
commit | 92bc0a474081c56d71605787d57ea2f6715a639c (patch) | |
tree | 006de07d5adecab1a5df2ec40c493c2cf277a202 /scripts/libmakepkg/util | |
parent | b0a8f44f105e0ac0f18279e3c25d570090ac9e70 (diff) |
-rw-r--r-- | scripts/libmakepkg/util/util.sh.in | 2 |
diff --git a/scripts/libmakepkg/util/util.sh.in b/scripts/libmakepkg/util/util.sh.in index e1ca5cb7..0fb89186 100644 --- a/scripts/libmakepkg/util/util.sh.in +++ b/scripts/libmakepkg/util/util.sh.in @@ -42,7 +42,7 @@ is_array() { local v=$1 local ret=1 - if [[ $(declare -p "$v") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]]; then + if [[ ${!v@a} = *a* ]]; then ret=0 fi |