From: Rudolf Polzer Date: Mon, 30 Jan 2012 16:01:31 +0000 (+0100) Subject: make quit detection match windows X-Git-Tag: xonotic-v0.6.0~30^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=20b4e2dc174ff54ef062c1a67f44f81ce79c4f53;p=xonotic%2Fxonotic.git make quit detection match windows --- diff --git a/misc/tools/the-big-benchmark/the-big-benchmark.sh b/misc/tools/the-big-benchmark/the-big-benchmark.sh index e890b144..cdf41f9f 100755 --- a/misc/tools/the-big-benchmark/the-big-benchmark.sh +++ b/misc/tools/the-big-benchmark/the-big-benchmark.sh @@ -63,7 +63,7 @@ for e in omg low med normal high ultra ultimate; do rm -f data/benchmark.log echo + "$@" +exec effects-$e.cfg $p > data/engine.log "$@" +exec effects-$e.cfg $p >>data/engine.log 2>&1 || true - if grep -xF ']quit' data/engine.log >/dev/null; then + if grep '\]quit' data/engine.log >/dev/null; then break fi cat data/engine.log >> data/the-big-benchmark.log