diff --git a/install-and-chroot.sh b/install-and-chroot.sh index a591299..2c276d2 100755 --- a/install-and-chroot.sh +++ b/install-and-chroot.sh @@ -37,7 +37,7 @@ fi sudo sed -e 's/#rc_sys=""/rc_sys="prefix"/g' -i "$DIR/etc/rc.conf" # Launch chroot -sh $DIR/enter-chroot ./build +bash $DIR/enter-chroot ./build || exit 1 # Insert pkg++ configuration in chroot sudo mkdir -p "$DIR/opt/pkgxx/dev" && \