Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 8b41a13

Browse files
committed
Make the new scripts work on mac
1 parent 1991b9e commit 8b41a13

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

generate-package.sh

100644100755
+3-3
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ if [ $# -ge 7 ]; then
3030
MSG="$7"
3131
fi
3232

33-
EXEC="mono"
33+
EXEC="mono "
3434
if [ -e "/c/" ]; then
3535
EXEC=""
3636
fi
3737

38-
if [ ! -e "$DIR/build/CommandLine/CommandLine.exe" ]; then
38+
if [ ! -e "build/CommandLine/CommandLine.exe" ]; then
3939
>&2 xbuild /target:CommandLine "$DIR/GitHub.Unity.sln" /verbosity:minimal
4040
fi
4141

42-
"$EXEC""$DIR/build/CommandLine/CommandLine.exe" --gen-package --version "$3" --path "$4" --url "$URL" --rn "$RN" --msg "$MSG"
42+
$EXEC build/CommandLine/CommandLine.exe --gen-package --version "$3" --path "$4" --url "$URL" --rn "$RN" --msg "$MSG"

run-test-webserver.sh

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ if [ ! -e build/CommandLine/CommandLine.exe ]; then
1313
>&2 xbuild /target:CommandLine GitHub.Unity.sln /verbosity:minimal
1414
fi
1515

16-
"$EXEC"build/CommandLine/CommandLine.exe --web --port $PORT
16+
$EXEC build/CommandLine/CommandLine.exe --web --port $PORT

test.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)