Make Linux build fail correctly when something does not work

This commit is contained in:
Alessandro Ranellucci 2018-11-23 18:59:46 +01:00 committed by Joseph Lenox
parent 0eb3ea7253
commit 11a6601c4a

View File

@ -1,7 +1,8 @@
#!/bin/bash
# This is too strict for source $HOME/perl5/perlbrew/etc/bashrc:
# -u is too strict for source $HOME/perl5/perlbrew/etc/bashrc:
### set -euo pipefail
set -eo pipefail
if [ ! -d $HOME/perl5/perlbrew/perls/slic3r-perl ]; then
echo "Downloading slic3r-perlbrew-5.24.tar.bz2"