diff --git a/shutils/chroot.sh b/shutils/chroot.sh index b89db44add..3771df20ec 100644 --- a/shutils/chroot.sh +++ b/shutils/chroot.sh @@ -197,6 +197,7 @@ mount_chroot_fs() ;; *) blah=/$f;; esac + [ ! -d $blah ] && continue mount --bind $blah $XBPS_MASTERDIR/$f if [ $? -eq 0 ]; then echo 1 > $XBPS_MASTERDIR/.${f}_mount_bind_done