Ignore M2 directory if empty
This commit is contained in:
2
run.sh
2
run.sh
@@ -8,7 +8,7 @@ mkdir -p "$SCRIPT_DIR/build"
|
|||||||
|
|
||||||
echo "Got versions $REV"
|
echo "Got versions $REV"
|
||||||
|
|
||||||
if [ -z ${M2_DIRECTORY+x} ]; then
|
if [ -z "$M2_DIRECTORY" ]; then
|
||||||
echo "m2 directory not specified, defaulting to $SCRIPT_DIR/m2"
|
echo "m2 directory not specified, defaulting to $SCRIPT_DIR/m2"
|
||||||
M2_DIRECTORY="$SCRIPT_DIR/m2"
|
M2_DIRECTORY="$SCRIPT_DIR/m2"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user