From ff33a3ef54b1d5018dba821a05e877975b4771d0 Mon Sep 17 00:00:00 2001 From: "Dr. Thomas Orgis" <thomas.orgis@uni-hamburg.de> Date: Thu, 26 Mar 2020 15:48:31 +0100 Subject: [PATCH] more exit --- build_lofar_cepH.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_lofar_cepH.sh b/build_lofar_cepH.sh index 968983d..c812e17 100644 --- a/build_lofar_cepH.sh +++ b/build_lofar_cepH.sh @@ -416,7 +416,7 @@ if [ ! -e $prefix/.done ]; then touch $prefix/.done else echo DP3 already installed. -fi +fi || exit 1 prefix=$INSTALLDIR/wsclean if [ ! -e $prefix/.done ]; then @@ -460,7 +460,7 @@ if [ ! -e $prefix/.done ]; then touch $prefix/.done else echo WSClean already installed. -fi +fi || exit 1 prefix=$INSTALLDIR/pyBDSF && pybdsflib=$prefix/lib/python$PYTHON_VERSION/site-packages -- GitLab