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:
@@ -61,7 +61,7 @@ done
|
|||||||
|
|
||||||
echo "Creating build directory: ${BUILD_DIR}"
|
echo "Creating build directory: ${BUILD_DIR}"
|
||||||
|
|
||||||
mkdir ${BUILD_DIR}
|
mkdir -p ${BUILD_DIR}
|
||||||
|
|
||||||
cd ${BUILD_DIR}
|
cd ${BUILD_DIR}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user