delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/31/07:02:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 31 Jul 2001 12:59:55 +0200
From: sg AT broesel DOT sv DOT newtron DOT net
Message-Id: <200107311059.f6VAxtc27922@broesel.sv.newtron.net>
To: cygwin AT cygwin DOT com
Subject: 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019