]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
the .sh file is not for Windows, except when using git
authorRudolf Polzer <divverent@alientrap.org>
Wed, 25 Jan 2012 19:04:19 +0000 (20:04 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 25 Jan 2012 19:04:19 +0000 (20:04 +0100)
misc/tools/the-big-benchmark.sh

index 3e28bea06eae5bf3307d1fa600b553920d5966b1..aea8cae102412b9f2a8d565802b9fa13d3bd235e 100755 (executable)
@@ -30,8 +30,6 @@ if [ -f ./all ]; then
        fi
 fi
 
-set -x
-
 rm -f data/benchmark.log
 rm -f data/engine.log
 if [ -f ./all ]; then
@@ -39,11 +37,7 @@ if [ -f ./all ]; then
        ./all compile -r
        set -- ./all run "$@"
 elif [ -z "$*" ]; then
-       
        case "`uname`" in
-               MINGW*|Win*)
-                       set -- ./xonotic.exe
-                       ;;
                Darwin)
                        set -- ./Xonotic.app/Contents/MacOS/xonotic-osx-sdl
                        ;;
@@ -53,6 +47,8 @@ elif [ -z "$*" ]; then
                *)
                        echo "OS not detected. Usage:"
                        echo "  $0 how-to-run-xonotic"
+                       echo "On Windows when using a release build or an autobuild,"
+                       echo "use the-big-benchmark.bat instead!"
                        exit 1
                        ;;
        esac