This is the mail archive of the cygwin@cygwin.com 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]

make, sh, bash and echo


Hi,

Makefile:

all:
	echo -ne "foo\nbar" > bar

$ make --unix
$ cat bar
-ne foo\nbar

Seems like the wrong echo is executed because SHELL is /bin/sh.exe and PATH isn't set correctly, you know why.
On Unix of course the right one and only echo is executed.
If I add the line SHELL=/bin/bash.exe it works the way i expect.

Is there any better solution ?

Greetings,
Stephan

-- 

Stephan Goetter

newtron AG
Software Development

 phone: +49 (0) 351 439 58 193
   fax: +49 (0) 351 439 58 177
mobile: +49 (0) 174 219 15 13

DRESDEN - Frankfurt/M. - Vienna - Singapore - New Delhi

new trading online  www.newtron.net 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]