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

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Tue Jan 24 17:47:00 GMT 2012

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
>>>>> /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... right.  Thanks :)
>> The problem is finding cygpath isn't it?  If it's not in the path then
>> you'll have to search for it.
>> You could look for the shortcut on the desktop I guess and infer the
>> bin directory from that.
>I don't think finding cygpath is a problem in a postinstall script, which
>was the question at hand...

Ah, right.  Sorry.


More information about the Cygwin-apps mailing list