From: Rudolf Polzer Date: Thu, 26 Jan 2012 19:00:37 +0000 (+0100) Subject: benchmark fixes X-Git-Tag: xonotic-v0.6.0~30^2~17 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b6a8248c852e9847cb1c5cf4f33410faf8f77351;p=xonotic%2Fxonotic.git benchmark fixes --- diff --git a/misc/tools/the-big-benchmark.bat b/misc/tools/the-big-benchmark.bat index 93e4fc60..06cfa5e4 100644 --- a/misc/tools/the-big-benchmark.bat +++ b/misc/tools/the-big-benchmark.bat @@ -1,5 +1,6 @@ @echo off +cd %~dp0 cd ..\.. echo The Big Benchmark diff --git a/misc/tools/the-big-benchmark.sh b/misc/tools/the-big-benchmark.sh index 4f85c391..3b26a044 100755 --- a/misc/tools/the-big-benchmark.sh +++ b/misc/tools/the-big-benchmark.sh @@ -2,6 +2,9 @@ set -e +if [ -d "${0%/*}" ]; then + cd "${0%/*}" +fi cd ../.. echo "The Big Benchmark"