This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: /rebase.sh (was Re: YA call for snapshot testing)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Mon, 23 Jan 2012 17:05:48 +0100
- Subject: Re: /rebase.sh (was Re: YA call for snapshot testing)
- References: <20120119195244.GA763@ednor.casa.cgf.cx> <4F192A98.4060203@gmail.com> <20120120132315.GR22712@calimero.vinschen.de> <20120123155106.GB3252@tishler.net>
- Reply-to: cygwin-apps at cygwin dot com
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