delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-Id: | <5.1.0.14.0.20020614182628.01f9acc8@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
Date: | Fri, 14 Jun 2002 18:28:04 -0400 |
To: | "Earl Mitchell" <earl DOT mitchell AT accetnetwork DOT com>, <cygwin AT cygwin DOT com> |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: question my sh commands in makefile works on linux but not |
on cygwin | |
In-Reply-To: | <002201c213f1$d5c0e5b0$15a8a8c0@accetnetwork.com> |
Mime-Version: | 1.0 |
At 06:21 PM 6/14/2002, Earl Mitchell wrote: >Need help with following problem. >I have very simple makefile with following rule: > >test: > @echo "this is a test" > @if [ "1" = "1" ] ; then \ > echo "working" ; \ > fi ; > >If I do a make on linux I correctly see ... > >this is a test >working > >But in cygwin when I make using same makeifle I see this ... > >"this is a test" >"1" was unexpected at this time. >make.exe: *** [test] Error 0x1 > >The MAKE_MODE is set to unix. Does anybody >know why the make is failing to parse this? I checked >the newsgroup and manual don't see what is causing >this to fail. I was going to say that it was a bash vs ash issue but it works fine here for me using /bin/bash or /bin/sh (ash). Maybe you want to look at the results of cygcheck -s -r -v if you haven't already. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |