From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: make 3.79.1-4 'make: /bin/sh.exe: Command not found' when running without sh.exe
Date: Sun, 11 Nov 2001 08:26:00 -0000 [thread overview]
Message-ID: <20011116033054.GE13802@redhat.com> (raw)
In-Reply-To: <2407239113CD914CBA855A47698F01B06220FA@SUGAH2.triscend.com>
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 <cgf@redhat.com>
* 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/
next prev parent reply other threads:[~2001-11-16 3:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-11 8:26 Craig Hackney
2001-11-11 8:26 ` Christopher Faylor [this message]
2001-11-11 8:26 ` Christopher Faylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011116033054.GE13802@redhat.com \
--to=cgf@redhat.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).