diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-04-07 09:24:01 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-04-07 09:25:26 +0200 |
commit | c0ebc07afcedf09ec166a31a6e14928c2cd03d26 (patch) | |
tree | 73a48a90705b7dfaa825d5c5860a736508c8a59a /src/scripts | |
parent | b25c9675b31bf159f8fcfae41e1f6fb3fe292fd7 (diff) |
Suppress tls_advertise_hosts warning during 'make install'
Diffstat (limited to 'src/scripts')
-rwxr-xr-x | src/scripts/exim_install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/scripts/exim_install b/src/scripts/exim_install index b9330ae0c..1e8805024 100755 --- a/src/scripts/exim_install +++ b/src/scripts/exim_install @@ -217,13 +217,15 @@ while [ $# -gt 0 ]; do # The exim binary is handled specially if [ $name = exim${EXE} ]; then - version=exim-`./exim -bV -C /dev/null | \ + exim="./exim -bV -C /dev/null" + version=exim-`$exim 2>/dev/null | \ awk '/Exim version/ { OFS=""; print $3,"-",substr($4,2,length($4)-1) }'`${EXE} if [ "${version}" = "exim-${EXE}" ]; then echo $com "" - echo $com "*** Could not run ./exim to find version number ***" + echo $com "*** Could not run $exim to find version number ***" echo $com "*** Exim installation ${ver}failed ***" + $exim exit 1 fi |