X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c0a87b2e2dfa156bfb4e6c0e5d43f7a582f779fc..2e1fefc99cc267b1eba7484f740d8bee7c2f59fb:/docs/contrib/build_nmh diff --git a/docs/contrib/build_nmh b/docs/contrib/build_nmh index ef399f86..adc6e1cb 100755 --- a/docs/contrib/build_nmh +++ b/docs/contrib/build_nmh @@ -307,15 +307,14 @@ if [ $status -eq 0 ]; then fi fi -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 +grep Error "$logfile" +grep warn "$logfile" + +if [ $status -eq 0 ]; then + [ $verbose -ge 1 ] && echo build completed successfully +else echo build failed! echo build log is in "$logfile" fi -[ $status -eq 0 -a $verbose -ge 1 ] && echo build completed successfully exit $status