X-Spam-Check-By: sourceware.org
Message-ID: <1183832613.468fda25eaef6@webmail.volja.net>
Date: Sat, 07 Jul 2007 20:23:33 +0200
From: David Balazic <robinud@volja.net>
To: cygwin@cygwin.com
Subject: Re: Setup offers bad directory for Local Package Directory
References: <1183805105.468f6eb1e2a23@webmail.volja.net> <468F75A7.79582C26@dessent.net> <1183823939.468fb84379ca6@webmail.volja.net> <468FBC10.7090202@cygwin.com>
In-Reply-To: <468FBC10.7090202@cygwin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.2.5 / FreeBSD-5.2.1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Quoting "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>:

> David Balazic wrote:
> > Quoting Brian Dessent <brian@dessent.net>:
> >
> >> 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.

Regards,
David


--
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/

