update OS X startup scripts to force a 32bit arch on SDL and OS X 10.5 or lower
[xonotic/xonotic.git] / misc / buildfiles / osx / Xonotic.app / Contents / MacOS / xonotic-osx-agl
index 0620633f4145421bb671585497ec610bfa0ba899..baa88281819a96ff275648d7dd77d6c269a4a7e1 100755 (executable)
@@ -3,4 +3,6 @@
 export DYLD_LIBRARY_PATH="${0%/*}"
        # same dir as the executable
 
-exec "$0"-bin "$@" -notexturenonpoweroftwo
+set -- "$0"-bin "$@" -notexturenonpoweroftwo
+
+exec "$@"