X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/afee8ed17a56617618fb7f963b111d7cf0fb56e7..35eca0e753a19a3c08f1b37097dba32b844fe296:/docs/contrib/build_nmh?ds=inline diff --git a/docs/contrib/build_nmh b/docs/contrib/build_nmh index f17b240f..adc6e1cb 100755 --- a/docs/contrib/build_nmh +++ b/docs/contrib/build_nmh @@ -149,11 +149,11 @@ if install-mh -check >/dev/null 2>&1; then fi fi - if $ldd "$mhbin/inc" | grep sasl >/dev/null; then + if $ldd "`$mhbin/mhparam libdir`/post" | grep sasl >/dev/null; then config_sasl=y fi - if $ldd "$mhbin/inc" | grep ssl >/dev/null; then + if $ldd "`$mhbin/mhparam libdir`/post" | grep ssl >/dev/null; then config_tls=y fi fi @@ -307,12 +307,14 @@ if [ $status -eq 0 ]; then fi fi -grep 'Error' "$logfile" -grep 'warn' "$logfile" -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