Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2015-06-06 14:35:11 -0600
committerLuke Shumaker <lukeshu@parabola.nu>2017-02-16 14:42:38 -0500
commit724e212ab5dadd733b49b015dd58221b75ea7717 (patch)
tree18b80dd9d07812b31687e30f508874577216ed7d
parenta9fe69f2fceeb00403ed7dd2ec64262e28352eff (diff)
makechrootpkg: /chrootbuild accept makepkg_args as arguments rather than embedding.
-rw-r--r--makechrootpkg.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 4b523b3..5c4b530 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -184,9 +184,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
declare -f _chrootnamcap
@@ -330,7 +328,7 @@ if arch-nspawn "$copydir" \
--bind="$PWD:/startdir" \
--bind="$SRCDEST:/srcdest" \
"${bindmounts_ro[@]}" "${bindmounts_rw[@]}" \
- /chrootbuild
+ /chrootbuild "${makepkg_args[@]}"
then
move_products
else