From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20038 invoked by alias); 16 Nov 2001 20:01:28 -0000 Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Received: (qmail 19999 invoked from network); 16 Nov 2001 20:01:22 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sourceware.cygnus.com with SMTP; 16 Nov 2001 20:01:22 -0000 Received: from loony.cygnus.com (loony.cygnus.com [205.180.230.181]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA26165; Fri, 16 Nov 2001 12:01:19 -0800 (PST) Received: (from cgf@localhost) by loony.cygnus.com (8.11.6/8.8.7) id fAGK1OG17999; Fri, 16 Nov 2001 15:01:24 -0500 Date: Sun, 11 Nov 2001 08:26:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Cc: craig@triscend.com Subject: Re: make 3.79.1-4 'make: /bin/sh.exe: Command not found' when running without sh.exe Message-ID: <20011116200124.GS17035@redhat.com> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com, craig@triscend.com References: <2407239113CD914CBA855A47698F01B06220FA@SUGAH2.triscend.com> <20011116033054.GE13802@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011116033054.GE13802@redhat.com> User-Agent: Mutt/1.3.23.1i X-SW-Source: 2001-11/txt/msg00459.txt.bz2 Trying again, cc'ing the original sender. cgf On Thu, Nov 15, 2001 at 10:30:54PM -0500, Christopher Faylor wrote: >On Thu, Nov 15, 2001 at 07:00:13PM -0800, Craig Hackney wrote: >> >> There appears to be a problem with this version of make please >> see below. > >Thanks for the analysis. > >The patch below should fix this, right? > >cgf 2001-11-15 Christopher Faylor * main.c (main): Invert sense of test to ensure that unixy_shell is set to zero if MAKE_MODE is not set to UNIX. Index: main.c =================================================================== RCS file: /cvs/cvsfiles/devo/make/main.c,v retrieving revision 1.47 diff -u -p -r1.47 main.c --- main.c 2001/06/26 19:12:04 1.47 +++ main.c 2001/11/16 03:20:03 @@ -870,11 +870,10 @@ int main (int argc, char ** argv) char *make_mode_env; /* Read the environment variable MAKE_MODE */ - /* If it's "UNIX", set unixy_shell to 1. If it's "WIN32" or - anything else, stay with the default of 0. */ + /* If it's not "UNIX", set unixy_shell to 0. */ make_mode_env = getenv ("MAKE_MODE"); - if (make_mode_env && strcaseequ (make_mode_env, "UNIX")) - unixy_shell = 1; + if (make_mode_env && !strcaseequ (make_mode_env, "UNIX")) + unixy_shell = 0; } #endif /* __CYGWIN__ */ -- 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/