delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/21/20:30:50

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: <200205220029.g4M0Tg715258@crikeymail.franz.com>
To: cygwin AT cygwin DOT com
cc: dancy AT franz DOT com
Subject: Re: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10
Date: Tue, 21 May 2002 17:29:42 -0700
From: Kevin Layer <layer AT franz DOT com>

It's worse than I suspected originally, when I thought I could get
around it by not using bash.  Now, without bash:

makefile:

   SHELL = sh

   default: FORCE
	   echo $(PATH)
	   /c/winnt/system32/cmd

   FORCE:

and now:

   D:\bug>PATH C:\Cygwin\bin;c:\cygwin\usr\bin;C:\Cygwin\usr\local\bin

   D:\bug>sh -i
   $ make
   echo /bin:/usr/bin:/usr/local/bin
   /bin:/usr/bin:/usr/local/bin
   /c/winnt/system32/cmd
   Microsoft Windows 2000 [Version 5.00.2195]
   (C) Copyright 1985-2000 Microsoft Corp.

   D:\bug>path
   PATH=c:\cygwin\bin;c:\cygwin\\bin;c:\cygwin\usr\local\bin
===============================^^
   D:\bug>

That path should be c:\cygwin\usr\bin, but the `usr' is missing.

Is there a workaround for this?  This bug is killing me.  If I don't
get a workaround soon, I'll have to go back to an older version.

Thanks.

--
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