From 7b5a02bf0f0006172552f94bd730b6867d29c070 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Mon, 29 Jul 2019 15:35:17 +0300 Subject: [PATCH] The previous commit to ac_mkbuilddir.sh was not enough. Added a line that makes the script to stop if any of the commands fail to avoid cluttering the base astaroth directory. In my case the issue was permission denied when trying to create a project directory in /MYSCRATCH (system root directory) instead of MYSCRATCH (astaroth/MYSCRATCH) --- scripts/ac_mkbuilddir.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ac_mkbuilddir.sh b/scripts/ac_mkbuilddir.sh index 14d04f9..c52bb8c 100755 --- a/scripts/ac_mkbuilddir.sh +++ b/scripts/ac_mkbuilddir.sh @@ -5,6 +5,8 @@ then exit 1 fi +# Exit if any of the following commands fail +set -e TIARA_SETUP_DEFAULT="" DOUBLE_DEFAULT="OFF"