Skip to content

Commit

Permalink
fix: attempt to use which godot
Browse files Browse the repository at this point in the history
  • Loading branch information
russmatney committed Aug 31, 2024
1 parent 853e6c7 commit 341c1f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/gdUnit4/runtest.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/sh

if [ -z "$GODOT_BIN" ]; then
export GODOT_BIN=$(which godot)
fi

if [ -z "$GODOT_BIN" ]; then
echo "'GODOT_BIN' is not set."
echo "Please set the environment variable 'export GODOT_BIN=/Applications/Godot.app/Contents/MacOS/Godot'"
Expand Down

0 comments on commit 341c1f9

Please sign in to comment.