On 14 November 2007 10:10, Nicolai Kamenzky wrote:

> I tried this, but it didn't work:
> <project name="xyz" basedir=".">
>       <target name="build">
>               <exec dir="." executable="C:\Program Files\cygwin\bin\bash">
>                       <arg line=" --login -i -c cd /cygdrive/c/
> someFolderToBeTheCurrentDir/; make"/>
>               </exec>
>       </target>
> </project>
> 
> Any ideas?

  Try

<arg line=" --login -i -c 'cd /cygdrive/c/someFolderToBeTheCurrentDir/;
make'"/>

  Note quotes make entire command line a single parameter to '-c'.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

Reply via email to