4cb8749f5a5471e8a4ecff35bc6a3122d979f915
[xonotic/netradiant.git] / setup / data / osx / NetRadiant.app / Contents / MacOS / netradiant.sh
1 #!/bin/sh
2
3 MY_DIRECTORY="${0%/*}" # cut off the script name
4 MY_DIRECTORY="${MY_DIRECTORY%/*}" # cut off MacOS
5 MY_DIRECTORY="${MY_DIRECTORY%/*}" # cut off Contents
6
7 #export DYLD_LIBRARY_PATH="$MY_DIRECTORY/Contents/MacOS"
8
9 cd "$MY_DIRECTORY/Contents/MacOS/NetRadiant/install"
10 exec /usr/bin/open-x11 ./radiant.ppc