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

This commit is contained in:
jpekkila
2019-07-29 15:21:15 +03:00
parent 0282f45077
commit abe4dfb4fe

View File

@@ -61,7 +61,7 @@ done
echo "Creating build directory: ${BUILD_DIR}"
mkdir ${BUILD_DIR}
mkdir -p ${BUILD_DIR}
cd ${BUILD_DIR}