diff --git a/bootstrap/sbin/rebuild_system_from_scratch.sh b/bootstrap/sbin/rebuild_system_from_scratch.sh index 8840c5a11d1863abe2e94cdda6268b9801d14d10..a81047645fccd0a4bf324ed61fcf4909fb21466b 100755 --- a/bootstrap/sbin/rebuild_system_from_scratch.sh +++ b/bootstrap/sbin/rebuild_system_from_scratch.sh @@ -1,4 +1,6 @@ -#! /usr/bin/env bash -e +#! /usr/bin/env bash + +set -e HOME_DIR=${LOFAR20_DIR:-${PWD}} if [ ! -d ${HOME_DIR}/bootstrap ]; then