forked from mirrored-repos/manjaro-tools
[util-iso] fix make_chroot args
This commit is contained in:
parent
aad0f8923e
commit
c4a2ab9c47
1 changed files with 2 additions and 2 deletions
|
@ -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!"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue