diff options
author | Dan McGee <dan@archlinux.org> | 2009-10-26 21:07:29 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-10-26 21:07:29 -0500 |
commit | 3f7cc83e0df79f24c545924d7b38e9fa22302b2a (patch) | |
tree | 24ae2a3461e6185a89c027be99ba790c581682df /scripts/makepkg.sh.in | |
parent | 361a25c0861a74d6b35500955ae12e6b1bbadc5b (diff) | |
parent | fff6d9dc2e6c61f67d6a50e2dde655f388c173a8 (diff) | |
download | pacman-3f7cc83e0df79f24c545924d7b38e9fa22302b2a.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r-- | scripts/makepkg.sh.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 9cd7f2e4..92b04546 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1478,7 +1478,7 @@ if [ ! $(type -t gettext) ]; then } fi -ARGLIST=$@ +ARGLIST=("$@") # Parse Command Line Options. OPT_SHORT="AcCdefFghiLmop:rRsV" @@ -1901,9 +1901,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 |