From 01b7480ddd8b3ccf2e99bfca9c817b5a488bd7fe Mon Sep 17 00:00:00 2001 From: oranges Date: Fri, 3 Jun 2016 20:57:47 +1200 Subject: [PATCH] Improve travis script error checker Builds should not pass when they have an error count that is a multiple of 10 --- dm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dm.sh b/dm.sh index 3d04531b3f4..d77cabc637a 100644 --- a/dm.sh +++ b/dm.sh @@ -79,7 +79,7 @@ else then DreamMaker $dmepath.mdme 2>&1 | tee result.log retval=$? - if ! grep '0 errors, 0 warnings' result.log + if ! grep '\- 0 errors, 0 warnings' result.log then retval=1 #hard fail, due to warnings or errors fi @@ -94,4 +94,4 @@ mv $dmepath.mdme.rsc $dmepath.rsc rm $dmepath.mdme -exit $retval \ No newline at end of file +exit $retval