Jeff Trawick wrote:
>
> By the way... would a shell expert such as yourself know how
> to catch a bad exit from apache-1.3/src/Configure in the
> apache-1.3/configure code below and make sure that configure
> exits with a bad status too?
>
> if [ "x$quiet" = "xyes" ]; then
> (cd $src; ./Configure ${vflag} -file Configuration.apaci >/dev/null);
> 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
Maybe this for the 'then' clause:
if [ "x$quiet" = "xyes" ]; then
(cd $src; \
./Configure ${vflag} -file Configuration.apaci >/dev/null || \
exit $?);
else
The else clause is rather more difficult.. :-/
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"Millenium hand and shrimp!"