This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 26/04/06, mwoehlke <mwoehlke-nospam@tibco.com> wrote:Richard Quadling wrote:I have the following bash script ...
#!/bin/sh cvs up 2> $HOME/cvs1.log > $HOME/cvs2.log cd phpdoc autoconf -v -d --warnings=all &> $HOME/autoconf.log ./configure --with-source=./../php-src --with-pear-source=./../pear --with-chm=yes --with-treesaving > $HOME/configure.log make test > $HOME/make_test.log make test_xml > $HOME/make_test_xml.log make chm_xsl > $HOME/make_chm_xsl.log
Is there a way of stopping the makes if there was a problem.
Matthew said using [ $? -eq 0 ] || exit $? after each make line would work.
It doesn't. The issue is that the make function is crashing (the core dump ??!!!??).
-- Matthew "Sorry. Wrong species." --ST-TNG
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |