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]

Re: multiple commands on a single line seem to run in the background automatically


On Sun, May 28, 2006 at 02:19:02PM +0100, Valster Nico-anv009 wrote:
> I'm working on a bash script to automate the build process. The script
> calls, depending on the parameters the Microsoft VC6 compiler and/or the
> GreenHills compiler and/or the Cygwin GCC for one or more
> project/makefiles. 
> If I invoke the script like:
>     c:/bat/sbuild ......
> things work pretty well. However if I invoke it as
>     cd /cygdrive/d/CCase/anv009_SPRINT_8/SPRINT_VOB/SPRINT;c:/bat/sbuild
> .....

Is it possible you forgot to add the new line escape characther?
Try:
     cd /cygdrive/d/CCase/anv009_SPRINT_8/SPRINT_VOB/SPRINT;c:/bat/sbuild \
 .....

Bob Rossi

--
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]