diff options
-rwxr-xr-x | macosx/opentrack.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/macosx/opentrack.sh b/macosx/opentrack.sh index 62ad01a5..74a911e2 100755 --- a/macosx/opentrack.sh +++ b/macosx/opentrack.sh @@ -1,4 +1,6 @@ #!/bin/sh -dir="$(dirname -- "$0")" -exec "$dir"/opentrack.bin -platformpluginpath "$dir" "$@" +cd -- "$(dirname -- "$0")" && +exec ./opentrack.bin -platformpluginpath "$(pwd)" "$@" + +exit 1 |