From: Rudolf Polzer Date: Wed, 25 Jan 2012 19:04:19 +0000 (+0100) Subject: the .sh file is not for Windows, except when using git X-Git-Tag: xonotic-v0.6.0~30^2~25 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5b8ece816bd3bc52eb2761cba5512a7a375ad853;p=xonotic%2Fxonotic.git the .sh file is not for Windows, except when using git --- diff --git a/misc/tools/the-big-benchmark.sh b/misc/tools/the-big-benchmark.sh index 3e28bea0..aea8cae1 100755 --- a/misc/tools/the-big-benchmark.sh +++ b/misc/tools/the-big-benchmark.sh @@ -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