X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <57b452fc0801170614m717acc6cm7afee8e1d227f698@mail.gmail.com> <478F88A7.8000209@cygwin.com> <478FA0A0.9000109@free.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
Content-Type: text/plain; 	charset="UTF-8"
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <478FA0A0.9000109@free.fr>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
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/


