From 20b4e2dc174ff54ef062c1a67f44f81ce79c4f53 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 30 Jan 2012 17:01:31 +0100 Subject: [PATCH] make quit detection match windows --- misc/tools/the-big-benchmark/the-big-benchmark.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2