summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-01-23 14:40:19 +0000
committerglx <glx@openttd.org>2009-01-23 14:40:19 +0000
commit8783a0dc65391af915c6ac6880479b63fb7edc7e (patch)
treebf6220c560f5d1d1dbcbeaa6a02c86e5f59f2c36 /bin
parent3126914f3649950f1a72219566629b04ea793217 (diff)
downloadopenttd-8783a0dc65391af915c6ac6880479b63fb7edc7e.tar.xz
(svn r15224) -Fix (r15213): incorrect regex
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ai/regression/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ai/regression/run.sh b/bin/ai/regression/run.sh
index d15358016..e4916248d 100755
--- a/bin/ai/regression/run.sh
+++ b/bin/ai/regression/run.sh
@@ -25,7 +25,7 @@ fi
if [ -n "$gdb" ]; then
$gdb ./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav
else
- ./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav -d ai=2 2>&1 | awk '{ gsub("0x(\\(nil\\)|0)", "0x00000000", $0); gsub("^dbg: \\[ai\\]", "", $0); gsub("^ ", "ERROR: ", $0); gsub("ERROR: \\[1\\] ", "", $0); gsub("\\[P\\] ", "", $0); print $0; }' > tmp.regression
+ ./openttd -x -c ai/regression/regression.cfg $params -g ai/regression/regression.sav -d ai=2 2>&1 | awk '{ gsub("0x(\\(nil\\)|0+)", "0x00000000", $0); gsub("^dbg: \\[ai\\]", "", $0); gsub("^ ", "ERROR: ", $0); gsub("ERROR: \\[1\\] ", "", $0); gsub("\\[P\\] ", "", $0); print $0; }' > tmp.regression
fi
if [ -z "$gdb" ]; then