tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: cvs commit: jakarta-tomcat-connectors/webapp configure.in
Date Mon, 09 Jul 2001 15:44:30 GMT
Pier Fumagalli wrote:
> 
> Quoting jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>:
> 
> > "Pier P. Fumagalli" wrote:
> > >
> > > Hmm.... If you do an exit $ret, it'll kill the whole ./configure
> > > process with some bourne shells... Will check it...
> >
> > Oop, I have just found one, on BS2000!
> 
> And OS/X... It seems to me that the only case in which that would work is
> when the script is executed by BASH, that forks the second part of the pipe
> into another process, but if it's interactive, we're screwed :)

What about this:
+++
Index: configure.in                                                             
===================================================================             
RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/configure.in,v             
retrieving revision 1.10                                                        
diff -u -r1.10 configure.in                                                     
--- configure.in        2001/07/09 14:09:16     1.10                            
+++ configure.in        2001/07/09 15:38:33                                     
@@ -98,9 +98,9 @@                                                               
     done                                                                       
     unset first                                                                
     unset line                                                                 
-    exit $ret                                                                  
+    echo $ret > retfile                                                        
   }                                                                            
-  ret=$?                                                                       
+  ret=`cat retfile`                                                            
 ])                                                                             
                                                                                
 dnl -------------------------------------------------------------------------- 
+++

>
>     Pier

Mime
View raw message