From: Michael Smith Date: Thu, 9 Aug 2007 10:57:47 +0000 (+0000) Subject: Made error-filter expression in build-check script slightly more X-Git-Tag: release/1.79.1~6^2~1814 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c880d257c120bdc7695b534e0f15bebf2bdaaac8;p=docbook-dsssl Made error-filter expression in build-check script slightly more forgiving; added Makefile.tests to list of files to exclude from packaging. --- diff --git a/releasetools/Variables.mk b/releasetools/Variables.mk index ce37d875c..e9ce1ce89 100644 --- a/releasetools/Variables.mk +++ b/releasetools/Variables.mk @@ -168,6 +168,7 @@ ZIP_EXCLUDES = \ Makefile$$ \ Makefile.common \ Makefile.incl \ + Makefile.tests \ Makefile.param \ ChangeLog\.xml \ README\.SVN \ diff --git a/releasetools/build-check b/releasetools/build-check index bf6fa07d8..1e328f1d3 100755 --- a/releasetools/build-check +++ b/releasetools/build-check @@ -4,7 +4,7 @@ grep=egrep LOGFILENAME=$1 # FIXME: This regexp may not catch all error messages emitted; # probably should be refined with a more complete regexp. -errorRegexp="error|fail|\*[^.]" +errorRegexp="error|fail|\*\*[^.]" if [ -f $LOGFILENAME ] then errors=$($grep -i $errorRegexp $LOGFILENAME) @@ -15,7 +15,7 @@ then echo echo "Possible build errors found:" echo - $grep -i "error|fail|\*[^.]" $LOGFILENAME + $grep -i "$errorRegexp" $LOGFILENAME echo echo "Stopping." echo