Create m2 if it doesn't exist

This commit is contained in:
2025-11-15 18:43:44 -05:00
parent bbcca15ba8
commit 47043c58bb

2
run.sh
View File

@@ -11,6 +11,8 @@ echo "Got versions $REV"
if [ -z ${M2_DIRECTORY+x} ]; then if [ -z ${M2_DIRECTORY+x} ]; then
echo "m2 directory not specified, defaulting to $SCRIPT_DIR/build" echo "m2 directory not specified, defaulting to $SCRIPT_DIR/build"
M2_DIRECTORY="$SCRIPT_DIR/m2" M2_DIRECTORY="$SCRIPT_DIR/m2"
mkdir -p "$M2_DIRECTORY"
fi fi
IFS=',' read -r -a versions <<< "$REV" IFS=',' read -r -a versions <<< "$REV"