This is the mail archive of the cygwin@cygwin.com 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: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10


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/


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