This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
make, sh, bash and echo
- To: cygwin at cygwin dot com
- Subject: make, sh, bash and echo
- From: sg at broesel dot sv dot newtron dot net
- Date: Tue, 31 Jul 2001 12:59:55 +0200
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/