delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/17/13:45:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <57b452fc0801170614m717acc6cm7afee8e1d227f698 AT mail DOT gmail DOT com> <478F88A7 DOT 8000209 AT cygwin DOT com> <478FA0A0 DOT 9000109 AT free DOT fr>
Subject: RE: help!!!!
Date: Thu, 17 Jan 2008 18:44:37 -0000
Message-ID: <021601c85939$040e8ed0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <478FA0A0.9000109@free.fr>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m0HIjCrM014925

On 17 January 2008 18:38, Marc/MDPI314 wrote:


> Indeed, I have a similar problem with PATH variable, but I noticed this
> was not caused by spaces,
> but by the fact that Windows PATH is not case sensitive (and may contain
> "program files" or "Program Files") ...
> and it's naturally wrong under cygwin which is case sensitive.
> My errors occured in "configure" scripts (many different applications)
> when configure is searching commands trough PATH variable.
> So I modified the cygwin.bat batch file too force a clean PATH with only
> C:\WINDOWS and C:\WINDOWS\system32, translated into cygwin  by
> /cygdrive/c/WINDOWS and /cygdrive/c/WINDOWS/system32
> 
> There's perhaps something to do about that.

  We could perhaps add an option to cygpath to fix up the case of paths passed in.  In the absence of that, constructs like:

cygpath -p `cygpath -ws 'C:\program files \'`

can work around the problem by using the short name - thus fixing both spaces and cases at the same time!

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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