summaryrefslogtreecommitdiffhomepage
path: root/macosx
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-22 07:25:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-22 07:25:25 +0200
commit73d805aca985d228ca595c9bbc3df8e30f41e882 (patch)
tree7ebaa80f1ec6d5b995d618725c0df39f78b861b1 /macosx
parent9ad67c655e1746231f02ef2a238b7886dda4316b (diff)
parente09ca364443a8804b37a8df4d47957df554c7d87 (diff)
Merge branch 'unstable' into trackhat-ui
Diffstat (limited to 'macosx')
-rwxr-xr-xmacosx/opentrack.sh6
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