delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/08/20:26:26

X-Spam-Check-By: sourceware.org
Message-ID: <46918095.1020803@cygwin.com>
Date: Sun, 08 Jul 2007 20:25:57 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Setup offers bad directory for Local Package Directory
References: <1183805105 DOT 468f6eb1e2a23 AT webmail DOT volja DOT net> <468F75A7 DOT 79582C26 AT dessent DOT net> <1183823939 DOT 468fb84379ca6 AT webmail DOT volja DOT net> <468FBC10 DOT 7090202 AT cygwin DOT com> <1183832613 DOT 468fda25eaef6 AT webmail DOT volja DOT net>
In-Reply-To: <1183832613.468fda25eaef6@webmail.volja.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

David Balazic wrote:
> Quoting "Larry Hall (Cygwin)" :
> 
>> David Balazic wrote:
>>> Quoting Brian Dessent :
>>>
>>>> David Balazic wrote:
>>>>
>>>>> I downloaded http://www.cygwin.com/setup.exe
>>>>> version 2.573.2.2 (as displayed in the first page of the wizard).
>>>>>
>>>>> I entered "C:\Program Files\cygwin" ad the root directory.
>>>>> Then on the next page "Select Local Package Directory" the offered
>>>>> directory was "C:\Program Files\Mozilla Firefox", which is clearly wrong.
>>>> It's not clearly wrong at all, in fact setup.exe had no involvement
>>>> whatsoever with choosing this value -- it is simply whatever the current
>>>> working directory was when you ran it.  The fact that it's Mozilla's
>>>> directory implies that you ran setup.exe from within the browser.  If
>>>> you had saved it to a folder and then clicked on it in Explorer, then
>>>> that folder would have been the CWD and that is what setup would have
>>>> offered.  The first time you run it setup has no idea where you want to
>>>> store downloaded files, so it uses the CWD for lack of a better guess.
>>>> Thereafter the choice is stored in /etc/setup/last-cache and so after
>>>> the first time the choice will persist.
>>>>
>>>> Brian
>>> Wouldn't $TEMP/cygwinfiles be a better default than "random" ?
>>
>> Who said it was random?
> Nobody. I used quotes.
> 
>> If you'd like to suggest
>> an alternative to the current default, send along a patch and I'm sure
>> Brian will consider it.
> 
> I don't think changing from CWD to $TEMP/something (%TEMP%/something actually)
> is so complicated that an outsider should download sources and create patch.

Excellent!  So it seems we have now reached a mutually acceptable end to
this thread. ;-)

Or, restated more plainly, if you don't feel motivated enough to generate a
patch that implements what you're thinking about, you will likely not be
surprised if others aren't motivated to do so for you either, at least in
the short run.  Of course, there's always the possibility that someone else
will create such a patch and convince Brian that it really is the next best
thing to sliced bread in the world according to 'setup.exe', in which case
you'll see your idea shining brightly in a future release of 'setup.exe'.
Either way, thanks for your feedback.  :-)

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019