index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2009-06-09 14:11:15 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-06-13 09:51:18 -0500 |
commit | ef500b44ce45255da16e18b8e9aa4d43fab359b8 (patch) | |
tree | fc58b019d153ea569aa6ac2ef31cc2ac934c6ff7 /scripts | |
parent | 04d5c4294ab5d35cceb149d7c94a4bf3aa6d7a85 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index e2e3de68..433fe348 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1262,7 +1262,7 @@ devel_update() { backup_package_variables() { for var in ${splitpkg_overrides[@]}; do indirect="${var}_backup" - eval "${indirect}=\"${!var}\"" + eval "${indirect}=(\${$var[@]})" done } @@ -1270,7 +1270,7 @@ restore_package_variables() { for var in ${splitpkg_overrides[@]}; do indirect="${var}_backup" if [ -n "${!indirect}" ]; then - eval "${var}=\"${!indirect}\"" + eval "${var}=(\${$indirect[@]})" else unset ${var} fi |