Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-06-06 14:35:11 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-06 14:35:11 -0600
commitc271ab745f80167f452ee6afa1ff430c2f1523b0 (patch)
tree37f575c509bea527cb1f2808a968fdd6c40ac300 /makechrootpkg.in
parent3286d45fb790c9b7bc1c9669ca0338e4ab60da11 (diff)
Reverse the previous commit--passing in makepkg_args as args is better.libretools-20150607
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 1d7ba5e..79f54ab 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -216,9 +216,7 @@ EOF
{
printf '#!/bin/bash\n'
declare -f _chrootbuild
- printf '_chrootbuild'
- printf ' %q' "${makepkg_args[@]}"
- printf ' || exit\n'
+ printf '_chrootbuild "$@" || exit\n'
if $run_namcap; then
cat <<'EOF'
@@ -393,7 +391,7 @@ if arch-nspawn "$copydir" \
--bind-ro="$PWD:/startdir_host" \
--bind-ro="$SRCDEST:/srcdest_host" \
"${bindmounts_ro[@]}" "${bindmounts_rw[@]}" \
- /chrootbuild
+ /chrootbuild "${makepkg_args[@]}"
then
move_products
else