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: /rebase.sh (was Re: YA call for snapshot testing)


On Jan 23 10:51, Jason Tishler wrote:
> On Fri, Jan 20, 2012 at 02:23:15PM +0100, Corinna Vinschen wrote:
> > [Moved to cygwin-apps for discussion]
> > 
> > On Jan 20 09:49, marco atzeri wrote:
> > > As rebaseall is almost mandatory on W7/64 and
> > > we are always suggesting it to anyone with fork problem,
> > > I think a simple batch file in the / (called rebase.bat ?)
> > > similar to the cygwin.bat
> > > 
> > > with something like
> > > -------------------------------------
> > > C:
> > > chdir C:\cygwin\bin
> > > C:\cygwin\bin\dash -l -i -c "rebaseall"
> > > --------------------------------------
> > >
> > Sounds like an interesting idea.  That would simplify the description
> > in the User's Guide, too.  The only problem I see with this is the
> > fact that rebaseall exits prematurely if more than just dash or ash
> > processes are running.  Maybe we should add a flag to rebaseall so
> > that it waits for a keypress in that case.
> 
> How should the batch file determine the Cygwin installation location?
> Just assuming "C:\cygwin" will not work for everyone.

The batch file could be generated in a postinstall script via sed or gawk.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat


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