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