From b6a8248c852e9847cb1c5cf4f33410faf8f77351 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 26 Jan 2012 20:00:37 +0100 Subject: [PATCH] benchmark fixes --- misc/tools/the-big-benchmark.bat | 1 + misc/tools/the-big-benchmark.sh | 3 +++ 2 files changed, 4 insertions(+) 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" -- 2.39.2