[PATCH] Re: missing sh.exe in coreutils

Yitzchak Scott-Thoennes sthoenna@efn.org
Mon Aug 15 15:30:00 GMT 2005


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.



More information about the Cygwin-apps mailing list