[util-iso] fix make_chroot args

This commit is contained in:
udeved 2015-05-11 19:42:05 +02:00
parent aad0f8923e
commit c4a2ab9c47

View file

@ -152,11 +152,11 @@ download_to_cache(){
# $2: packages
make_chroot(){
[[ "$1" == "${work_dir}/root-image" ]] && local flag="-L"
setarch "${ARCH}" \
setarch "${arch}" \
mkchroot -C ${pacman_conf} \
-S ${mirrors_conf} \
${flag} \
"$1" "$2" || die "Failed to retrieve one or more packages!"
$@ || die "Failed to retrieve one or more packages!"
}