This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: help!!!!


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]