Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-24 Thread Andrew Schulman
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. What's the supported way in a postinstall script to find the Cygwin installation directory?

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-24 Thread Peter Rosin
Andrew Schulman skrev 2012-01-24 13:04: 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. What's the supported way in a postinstall script to

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-24 Thread Andrew Schulman
What's the supported way in a postinstall script to find the Cygwin installation directory? I thought of 'cat /proc/registry/HKEY_CURRENT_USER/Software/Cygwin/something-or-other', but it seems that there can be multiple installation locations stored there. Will cygpath -m / do? Uh...

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-24 Thread Christopher Faylor
On Tue, Jan 24, 2012 at 07:12:35AM -0500, Andrew Schulman wrote: What's the supported way in a postinstall script to find the Cygwin installation directory? I thought of 'cat /proc/registry/HKEY_CURRENT_USER/Software/Cygwin/something-or-other', but it seems that there can be multiple

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-24 Thread Peter Rosin
Christopher Faylor skrev 2012-01-24 17:01: On Tue, Jan 24, 2012 at 07:12:35AM -0500, Andrew Schulman wrote: What's the supported way in a postinstall script to find the Cygwin installation directory? I thought of 'cat /proc/registry/HKEY_CURRENT_USER/Software/Cygwin/something-or-other', but

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-24 Thread Corinna Vinschen
On Jan 24 11:01, Christopher Faylor wrote: On Tue, Jan 24, 2012 at 07:12:35AM -0500, Andrew Schulman wrote: What's the supported way in a postinstall script to find the Cygwin installation directory? I thought of 'cat /proc/registry/HKEY_CURRENT_USER/Software/Cygwin/something-or-other',

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-24 Thread Jason Tishler
On Tue, Jan 24, 2012 at 07:12:35AM -0500, Andrew Schulman wrote: What's the supported way in a postinstall script to find the Cygwin installation directory? I thought of 'cat /proc/registry/HKEY_CURRENT_USER/Software/Cygwin/something-or-other', but it seems that there can be multiple

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-24 Thread Christopher Faylor
On Tue, Jan 24, 2012 at 05:19:43PM +0100, Peter Rosin wrote: Christopher Faylor skrev 2012-01-24 17:01: On Tue, Jan 24, 2012 at 07:12:35AM -0500, Andrew Schulman wrote: What's the supported way in a postinstall script to find the Cygwin installation directory? I thought of 'cat

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-23 Thread Jason Tishler
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

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-23 Thread Corinna Vinschen
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,

/rebase.sh (was Re: YA call for snapshot testing)

2012-01-20 Thread Corinna Vinschen
[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

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-20 Thread marco atzeri
On 1/20/2012 2:23 PM, 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

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-20 Thread Chris Sutcliffe
On 20 January 2012 08:23, 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 ?)

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-20 Thread Corinna Vinschen
On Jan 20 09:06, Chris Sutcliffe wrote: On 20 January 2012 08:23, 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