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.
This commit is contained in:
Jan Alexander Steffens (heftig) 2013-05-06 01:35:21 +02:00
parent a5bc6acf32
commit 38692e8d74
1 changed files with 1 additions and 1 deletions

View File

@ -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[@]}"