]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - server/server_mac.sh
fix index building
[xonotic/xonotic.git] / server / server_mac.sh
index 3c456974bcbb3b72d3a007201159de86ec46afe5..50e1a5ca458b9adf03930686da3e784c28d13396 100755 (executable)
@@ -1,18 +1,18 @@
 #!/bin/sh
 
 #!/bin/sh
 
-executable="nexuiz-osx-dedicated"
+executable="xonotic-osx-dedicated"
 
 cd "`dirname "${0}"`"
 
 if ! [ -x "$executable" ]; then
 
 cd "`dirname "${0}"`"
 
 if ! [ -x "$executable" ]; then
-       if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
+       if [ -x "../$executable" ] && { [ -f ~/.xonotic/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
                cd ..
        else
                echo "This script is not properly set up yet."
                echo "Please refer to the instructions in readme.txt."
                echo "In short:"
                echo "- copy server.cfg to the data directory and adjust its settings"
                cd ..
        else
                echo "This script is not properly set up yet."
                echo "Please refer to the instructions in readme.txt."
                echo "In short:"
                echo "- copy server.cfg to the data directory and adjust its settings"
-               echo "- move this file to the main directory of your Nexuiz installation"
+               echo "- move this file to the main directory of your Xonotic installation"
                exit 1
        fi
 fi
                exit 1
        fi
 fi