summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-10-27 03:07:29 +0100
committerDan McGee <dan@archlinux.org>2009-10-27 03:07:29 +0100
commit3f7cc83e0df79f24c545924d7b38e9fa22302b2a (patch)
tree24ae2a3461e6185a89c027be99ba790c581682df /scripts/makepkg.sh.in
parent361a25c0861a74d6b35500955ae12e6b1bbadc5b (diff)
parentfff6d9dc2e6c61f67d6a50e2dde655f388c173a8 (diff)
downloadpacman-3f7cc83e0df79f24c545924d7b38e9fa22302b2a.tar.gz
pacman-3f7cc83e0df79f24c545924d7b38e9fa22302b2a.tar.xz
Merge branch 'maint'
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in6
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