This is the mail archive of the cygwin-apps 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: [PATCH] Re: missing sh.exe in coreutils


On Mon, Aug 15, 2005 at 11:20:41AM -0400, Igor Pechtchanski wrote:
> On Mon, 15 Aug 2005, Brian Dessent wrote:
> > However, I just noticed something that will make life a lot easier - it
> > sets the CYGWINROOT environment variable when running a script.  This
> > means that we should be able to just have a single .bat file containing
> >
> > @copy /y %CYGWINROOT$\bin\bash.exe %CYGWINROOT%\bin\sh.exe
> >
> > This needs testing, but it should work.
> 
> Yep, it should (if you replace the '$' by a '%' in the first
> '%CYGWINROOT$' >:-D).

And assuming the user hasn't mounted /bin somewhere other than
%CYGWINROOT%\bin.

But I'm guessing if that were the case other parts of setup.exe would break
anyway.


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