From abe4dfb4fe00d4892af73761a6551eab81d3a6aa Mon Sep 17 00:00:00 2001 From: jpekkila Date: Mon, 29 Jul 2019 15:21:15 +0300 Subject: [PATCH] ac_mkbuilddir.sh did not stop if the directory specified by the user did not exist. This lead to messing up the base astaroth directory with temporary cmake files. Added -p flag to mkdir to create parent directories if necessary to avoid this --- scripts/ac_mkbuilddir.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ac_mkbuilddir.sh b/scripts/ac_mkbuilddir.sh index eac417e..2874168 100755 --- a/scripts/ac_mkbuilddir.sh +++ b/scripts/ac_mkbuilddir.sh @@ -61,7 +61,7 @@ done echo "Creating build directory: ${BUILD_DIR}" -mkdir ${BUILD_DIR} +mkdir -p ${BUILD_DIR} cd ${BUILD_DIR}