From 9796d5e981431dbb8a017f1f8654f0dd31f232a9 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 2874168..da5bc1a 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"