Browse Source

Attempt to exit script if any error in .gitlab-ci.yml

master
Olivier DOSSMANN 4 years ago
parent
commit
a40b808598
  1. 2
      install-and-chroot.sh

2
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" && \

Loading…
Cancel
Save