diff options
author | 2002-11-22 16:18:53 +0000 | |
---|---|---|
committer | 2002-11-22 16:18:53 +0000 | |
commit | 309272e85a831fdb1c24e7d17caa0e6d9d9ec81f (patch) | |
tree | 85a18ffa0e87a32dce3d4d3a6f79f583eaa3f501 | |
parent | Allow fdinit to be called with p == NULL so that we can use (diff) | |
download | wireguard-openbsd-309272e85a831fdb1c24e7d17caa0e6d9d9ec81f.tar.xz wireguard-openbsd-309272e85a831fdb1c24e7d17caa0e6d9d9ec81f.zip |
fix fd handling, so 'make build >log 2>fixme' really works
henning@ ok
-rw-r--r-- | usr.sbin/httpd/configure | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/httpd/configure b/usr.sbin/httpd/configure index 807d9446c83..c8681547fca 100644 --- a/usr.sbin/httpd/configure +++ b/usr.sbin/httpd/configure @@ -1601,14 +1601,15 @@ rm -f $tplconf 2>/dev/null if [ "x$verbose" = "xyes" ]; then vflag="-v"; fi +exec 4>&1 rc=`if [ "x$quiet" = "xyes" ]; then (cd $src; ${SHELL} ./Configure ${vflag} -file Configuration.apaci >/dev/null; echo $? >&3; ); else (cd $src; (${SHELL} ./Configure ${vflag} -file Configuration.apaci; echo $? >&3; ) |\ sed -e '/^Using config file:.*/d' \ -e "s:Makefile in :Makefile in $src\\/:" \ - -e "s:Makefile\$:Makefile in $src:") -fi 3>&1 1>&2` + -e "s:Makefile\$:Makefile in $src:" >&4 ) +fi 3>&1` ## Ugly. So far, we've only used -eq, so just in case, use this ## stupid code unless we're *sure* that -ne is also available |