Commit 38692e8d authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

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.
parent a5bc6acf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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[@]}"