Merge pull request #15 from manjaro/master

Merge Fix for #14
This commit is contained in:
Philip Müller 2015-01-09 08:42:45 +01:00
commit 560cb6c3b1

View file

@ -52,7 +52,8 @@ chroot_clean(){
chroot_update(){
lock 9 "${chrootdir}/root.lock" "Locking clean chroot"
chroot-run ${mkchroot_args[*]} \
chroot-run_args="$(${mkchroot_args[*]} | sed s/-L//)"
chroot-run ${chroot-run_args} \
"${chrootdir}/root" \
pacman -Syu --noconfirm || abort
}