On Mon, Aug 15, 2005 at 08:30:03AM -0700, Yitzchak Scott-Thoennes wrote: >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.
Actually, the last I checked, setup.exe was able to figure out where /bin was located. Maybe it should set a CYGWINBIN environment variable or something. cgf
