diff --git a/dist/platforms/mac/entrypoint.sh b/dist/platforms/mac/entrypoint.sh index 65ab28e3..80ec6d09 100755 --- a/dist/platforms/mac/entrypoint.sh +++ b/dist/platforms/mac/entrypoint.sh @@ -6,7 +6,7 @@ UNITY_LICENSE_PATH="/Library/Application Support/Unity" -if [ -d "$UNITY_LICENSE_PATH" ]; then +if [ ! -d "$UNITY_LICENSE_PATH" ]; then echo "Creating Unity License Directory" sudo mkdir -p "$UNITY_LICENSE_PATH" sudo chmod -R 777 "$UNITY_LICENSE_PATH"