Re: not a bug but some strange behaviour

2009-12-01 Thread jean-luc malet
;>>> >>>> This program built for i686-pc-cygwin >>>> >>>> $ >>>> >>>> >>>> >>>> The exact test case I used wasn't quite the same as you gave: >>>> >>>> >>>> >>>&

Re: not a bug but some strange behaviour

2009-12-01 Thread jean-luc malet
gt; $ cat make.bat >>> >>> C:\cygwin-1.5\bin\make %* >>> >>> $ cat Makefile >>> >>> >>> >>> export TEST_FLAG=test >>> >>> SHELL=/bin/bash >>> >>> >>> >>> test : >>

Re: not a bug but some strange behaviour

2009-12-01 Thread jean-luc malet
;>     printf "${TEST_FLAG}\n" >> >> >> >> test3 : >> >>     printf "$${ENV_VAR1}\n" >> >> >> >> test4 : >> >>     printf "${ENV_VAR1}\n" >> >> >> >> test5

Re: not a bug but some strange behaviour

2009-12-01 Thread jean-luc malet
t; > test4 : > >     printf "${ENV_VAR1}\n" > > > > test5 : > >     ENV_VAR1=${ENV_VAR1}; /bin/bash somescriptthatdoprintfenv_var1 > > > > > > $ > > > > If I had make.bat run "make", then it ended up invoking itself.  My

Re: not a bug but some strange behaviour

2009-12-01 Thread jean-luc malet
ll, cygwin env > > $make test > > test > > $make test2 > > test > > $make test3 > > fromtheenv > > $make test4 > > fromtheenv > > $make test5 > > fromtheenv > > > > --- linux -- > > always working > > &g

RE: not a bug but some strange behaviour

2009-11-30 Thread Martin Dorey
-- From: jean-luc malet [mailto:jeanluc.ma...@gmail.com] Sent: Monday, November 30, 2009 14:27 To: Martin Dorey Cc: bug-make Subject: Re: not a bug but some strange behaviour $cat make.bat set PATH=cygwin_Path;oldPath make %* $ cat /tmp/Makefile export TEST_FLAG=test SHELL=/bin/bash

Re: not a bug but some strange behaviour

2009-11-30 Thread jean-luc malet
entirety to help someone reproduce the problem? > > -Original Message- > From: bug-make-bounces+mdorey=bluearc@gnu.org > [mailto:bug-make-bounces+mdorey=bluearc@gnu.org] On Behalf Of jean-luc > malet > Sent: Monday, November 30, 2009 10:27 > To: bug-make > S

RE: not a bug but some strange behaviour

2009-11-30 Thread Martin Dorey
: Monday, November 30, 2009 10:27 To: bug-make Subject: not a bug but some strange behaviour Hi! I have a cygwin environment in which I've written a makefile, in this environment it's working fine I want to make it available to other dos user, so I've written a bat file that set the cygwi

not a bug but some strange behaviour

2009-11-30 Thread jean-luc malet
Hi! I have a cygwin environment in which I've written a makefile, in this environment it's working fine I want to make it available to other dos user, so I've written a bat file that set the cygwin path and call make, in the doc env when I do echo %somevar% I see the correct result however in comma