[wsf-c-dev] [wsf4php] Suggestion: build.sh minor change

James Clark james at wso2.com
Mon Jan 29 20:28:34 PST 2007


The usual way to do this is to put

  set -e

at the top of the shell-script.

On Mon, 2007-01-22 at 18:37 +0530, Sanjiva Weerawarana wrote:
> +1 .. commit?
> 
> Sanjiva.
> 
> Chintana Wilamuna wrote:
> > Hi,
> > 
> > I noticed on build.sh that the command sequence to build WSF/PHP is,
> > 
> > ./autogen.sh
> > ./configure
> > make
> > 
> > In this case it'll try to run make regardless of the successful
> > completion of configure.  On a script following is more useful IMHO.
> > 
> > ./autogen.sh && ./configure && make
> > 
> > So it'll stop immediately without trying to execute other commands if
> > anything fails in between.
> > 
> > Bye,
> > 
> >     -Chintana
> > 
> > 
> > _______________________________________________
> > Wsf-c-dev mailing list
> > Wsf-c-dev at wso2.org
> > http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
> > 
> 





More information about the Wsf-c-dev mailing list