httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@Fujitsu-Siemens.com>
Subject Re: I'd like to release 1.3.24...
Date Mon, 04 Feb 2002 12:42:48 GMT
On Sat, Feb 02, 2002 at 04:34:14PM -0500, Rodent of Unusual Size wrote:
> 
> if [ "x$quiet" = "xyes" ]; then
>     (cd $src; \
>      ./Configure ${vflag} -file Configuration.apaci >/dev/null || \
>      exit $?);
> else

Nope -- this will do the same as it did: terminate the subshell
with an error (which is ignored).
You could do...
if [ "x$quiet" = "xyes" ]; then
    (cd $src; ./Configure ${vflag} -file Configuration.apaci >/dev/null) || exit;
-----either-------------------------------------------------------------^^^^^^^^
else
    (cd $src; ./Configure ${vflag} -file Configuration.apaci |\
     sed -e '/^Using config file:.*/d' \
         -e "s:Makefile in :Makefile in $src\\/:" \
         -e "s:Makefile\$:Makefile in $src:")
fi || exit
or-^^^^^^^

But the "else" branch is more tricky, as you said.

   Martin
-- 
<Martin.Kraemer@Fujitsu-Siemens.com>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany

Mime
View raw message