summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/nexuiz
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-03 15:41:11 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-03 15:41:11 -0400
commit2ebeb7b8192df850a565cad8d7764c6e571e9b51 (patch)
treeb2cc97aa11adb1b66acfe2cd96614919bf165049 /pts/test-resources/nexuiz
parent7981227364799d0ebb620ff3769d1e85ea90ada2 (diff)
downloadphoronix-test-suite-upstream-2ebeb7b8192df850a565cad8d7764c6e571e9b51.tar.gz
phoronix-test-suite-upstream-2ebeb7b8192df850a565cad8d7764c6e571e9b51.tar.xz
phoronix-test-suite-upstream-2ebeb7b8192df850a565cad8d7764c6e571e9b51.zip
pts: Major profile updates for Mac OS X
Diffstat (limited to 'pts/test-resources/nexuiz')
-rwxr-xr-xpts/test-resources/nexuiz/install.sh20
1 files changed, 9 insertions, 11 deletions
diff --git a/pts/test-resources/nexuiz/install.sh b/pts/test-resources/nexuiz/install.sh
index 376d293..0d5f69f 100755
--- a/pts/test-resources/nexuiz/install.sh
+++ b/pts/test-resources/nexuiz/install.sh
@@ -2,20 +2,18 @@
# Nexuiz 2.4.2
-if [ -x /usr/games/nexuiz -a -r /usr/share/games/nexuiz/data/music.pk3 ]; then
-cat > nexuiz <<'EOT'
-#!/bin/sh
-/usr/games/nexuiz +exec normal.cfg $@ | grep fps
-EOT
-else
-
unzip -o nexuiz-242.zip
+mv Nexuiz/ Nexuiz_/
echo "#!/bin/sh
-cd Nexuiz
-./nexuiz-linux-glx.sh +exec normal.cfg \$@ | grep fps" > nexuiz
-fi
+cd Nexuiz_/
+if [ \$OS_TYPE = \"MacOSX\" ]
+then
+ ./Nexuiz.app/Contents/MacOS/nexuiz-osx-agl +exec normal.cfg \$@ | grep fps
+else
+ ./nexuiz-linux-glx.sh +exec normal.cfg \$@ | grep fps
+fi" > nexuiz
chmod +x nexuiz
-cd Nexuiz
+cd Nexuiz_/
chmod -w data