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
-- 
<[EMAIL PROTECTED]>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany

Reply via email to