diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2015-06-06 14:35:11 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-04-02 03:16:37 -0400 |
commit | 64921cb9610ad73badd58c90e400464e86649170 (patch) | |
tree | 597965be11ebf7152b0f56a6704891a7eb54b952 | |
parent | c3b297d24a64b702cda9812882556a9184399c32 (diff) | |
download | devtools32-64921cb9610ad73badd58c90e400464e86649170.tar.xz |
makechrootpkg: /chrootbuild: accept makepkg_args as arguments rather than embedding.
-rw-r--r-- | makechrootpkg.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in index 31d57d3..9566b2e 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -190,9 +190,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 @@ -338,7 +336,7 @@ if arch-nspawn "$copydir" \ --bind="$PWD:/startdir" \ --bind="$SRCDEST:/srcdest" \ "${bindmounts_ro[@]}" "${bindmounts_rw[@]}" \ - /chrootbuild + /chrootbuild "${makepkg_args[@]}" then move_products else |