index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2009-10-22 14:25:24 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-10-24 10:22:34 -0500 |
commit | fff6d9dc2e6c61f67d6a50e2dde655f388c173a8 (patch) | |
tree | 2575f71233320ffe8b4450e68aad59652705fff0 /scripts/makepkg.sh.in | |
parent | 21caf8730f9d089e351bf73b8bfd46b316c518a9 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 6 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index ffa8e866..ba0d3d91 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1462,7 +1462,7 @@ if [ ! $(type -t gettext) ]; then } fi -ARGLIST=$@ +ARGLIST=("$@") # Parse Command Line Options. OPT_SHORT="AcCdefFghiLmop:rRsV" @@ -1876,9 +1876,9 @@ else msg "$(gettext "Entering fakeroot environment...")" if [ -n "$newpkgver" ]; then - fakeroot -- $0 --forcever $newpkgver -F $ARGLIST || exit $? + fakeroot -- $0 --forcever $newpkgver -F "${ARGLIST[@]}" || exit $? else - fakeroot -- $0 -F $ARGLIST || exit $? + fakeroot -- $0 -F "${ARGLIST[@]}" || exit $? fi fi fi |