summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2013-05-06 01:35:21 +0200
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2013-05-11 12:26:21 +0200
commit38692e8d742a99e78b6f157c65dcf06dbf0c4c02 (patch)
treef29eeddb76e9858662992c040baaf0d35a688047
parenta5bc6acf325900f2855e9f52377fb42633b75c6f (diff)
archbuild: Correct makechrootpkg argument order
The user-passed makechrootpkg_args may contain a "--" to pass arguments to makepkg. In this case, the order is wrong.
-rw-r--r--archbuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/archbuild.in b/archbuild.in
index 097cc37..b1c96f9 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -77,4 +77,4 @@ else
fi
msg "Building in chroot for [${repo}] (${arch})..."
-exec makechrootpkg "${makechrootpkg_args[@]}" -r "${chroots}/${repo}-${arch}"
+exec makechrootpkg -r "${chroots}/${repo}-${arch}" "${makechrootpkg_args[@]}"