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
printf "${TEST_FLAG}\n" > > > > test3 : > >     printf "$${ENV_VAR1}\n" > > > > test4 : > >     printf "${ENV_VAR1}\n" > > > > test5 : > >     ENV_VAR1=${ENV_VAR1}; /bin/bash somescriptthatdoprintfenv

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
$cat make.bat set PATH=cygwin_Path;oldPath make %* $ cat /tmp/Makefile export TEST_FLAG=test SHELL=/bin/bash test : printf "$${TEST_FLAG}\n" test2 : printf "${TEST_FLAG}\n" test3 : printf "$${ENV_VAR1}\n" test4 : printf "${ENV_VAR1}\n" test5 : ENV_VAR1=${ENV_VAR1}; /bin/bash somescriptt

RE: not a bug but some strange behaviour

2009-11-30 Thread Martin Dorey
Can you contrive a simple test case - something that you can post here in its 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