]> diplodocus.org Git - nmh/blobdiff - docs/contrib/build_nmh
OK, Solaris on the buildbot uses flex 2.5.35.
[nmh] / docs / contrib / build_nmh
index adc6e1c..ef399f8 100755 (executable)
@@ -307,14 +307,15 @@ if [ $status -eq 0 ]; then
   fi
 fi
 
-grep Error "$logfile"
-grep warn "$logfile"
-
-if [ $status -eq 0 ]; then
-  [ $verbose -ge 1 ]  &&  echo build completed successfully
-else
+grep 'Error' "$logfile"
+#### Ignore the warning when sbr/dtimep.c is built with flex 2.5.36
+#### or 2.5.37.
+grep 'warn' "$logfile" | \
+  grep -v 'sbr/dtimep.c:.*comparison between signed and unsigned'
+if [ $status -ne 0 ]; then
   echo build failed!
   echo build log is in "$logfile"
 fi
+[ $status -eq 0  -a  $verbose -ge 1 ]  &&  echo build completed successfully
 
 exit $status