]> granicus.if.org Git - docbook-dsssl/commitdiff
Adjusted error-catching regexp to be a little more forgiving.
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 29 Aug 2007 10:06:13 +0000 (10:06 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 29 Aug 2007 10:06:13 +0000 (10:06 +0000)
buildtools/build-check

index 1e328f1d3f8be46d2d6c2c0b3eb3473073f70d7a..dcbb6e660bea1df670cae2a3d293860ee45a0cfc 100755 (executable)
@@ -4,7 +4,9 @@ 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|\*\*[^.]"
+# The [^-]fail part is to prevent it from interpreting the
+# tar "ignore-failed-read" switch as an error message.
+errorRegexp="error|[^-]fail|\*\*[^.]"
 if [ -f $LOGFILENAME ]
 then
   errors=$($grep -i $errorRegexp $LOGFILENAME)