delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/21/23:40:52

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: Wed, 21 Feb 2001 23:37:31 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sh.exe: Command not found
Message-ID: <20010221233731.B9086@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20010221231845 DOT A9086 AT redhat DOT com> <Pine DOT HPP DOT 3 DOT 96 DOT 1010221222315 DOT 20219L-100000 AT hp2 DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <Pine.HPP.3.96.1010221222315.20219L-100000@hp2.xraylith.wisc.edu>; from khan@NanoTech.Wisc.EDU on Wed, Feb 21, 2001 at 10:25:02PM -0600

On Wed, Feb 21, 2001 at 10:25:02PM -0600, Mumit Khan wrote:
>On Wed, 21 Feb 2001, Christopher Faylor wrote:
>
>> Mumit has clarified things in this regard.  I'd forgotten that make would
>> look for sh.exe in the path.  I don't know why this isn't working for
>> you.  Possibly setting the SHELL environment variable or passing a SHELL=
>> command line argument will work, as Mumit suggested.
>
>You can pass SHELL as a variable either on the command line as I had
>shown, or in the makefile itself, but never taken from the environment. 
>Make by design ignores SHELL environment variable, given that it causes 
>very weird errors when users have say csh as the SHELL variable.

Hmm.  I thought the Cygwin code had a fallback to the SHELL environment
variable but I just checked and that is not the case.

Make does find sh.exe in the PATH, though, as you said.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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