From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8597 invoked by alias); 20 Aug 2008 17:26:24 -0000 Received: (qmail 8587 invoked by uid 22791); 20 Aug 2008 17:26:24 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO mail.artimi.com) (194.72.81.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 20 Aug 2008 17:25:33 +0000 Received: from ALBATROSS ([192.168.1.150]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 20 Aug 2008 18:25:30 +0100 From: "Dave Korn" To: References: <48AC33ED.3040001@bmts.com> <043501c902da$c40c5b40$9601a8c0@CAM.ARTIMI.COM> <48AC3F67.5030602@bmts.com> Subject: RE: setup-1.7 with -D and -L options Date: Wed, 20 Aug 2008 17:26:00 -0000 Message-ID: <044f01c902e9$be3a3110$9601a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <48AC3F67.5030602@bmts.com> X-IsSubscribed: yes Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2008-08/txt/msg00192.txt.bz2 Ralph Hempel wrote on 20 August 2008 17:00: > Dave Korn wrote: > >> Basically a WDDTT situation, but you're right, we should forbid it >> rather than allow what is effectively "undefined behaviour". Care to >> file a bugzilla? > > Sure, but I'd also like to be able to make sure that there's not another > issue lurking in there :-) Ahh, hang on ... maybe -D and -L /should/ be allowed together. > If I run the following command line: > > setup -q -n -s http://mirror.csclub.uwaterloo.ca/cygwin/ > -l c:\cygwin\SetupTest\1.7 -R c:\cygwinTest -P autoconf,gcc-core,make > > Then the required packages and dependencies get downloaded to a local > directory, but the install does not happen. See /etc/setup/last-action. It memorized your "-D" from last time round (just as it would memorise which radio button you selected). > I have to run setup.exe again and specify the -L option.... > > setup -q -n -L -s http://mirror.csclub.uwaterloo.ca/cygwin/ > -l c:\cygwin\SetupTest\1.7 -R c:\cygwinTest -P autoconf,gcc-core,make So my first thought was that the real issue here is that we need to add a "-I". But then looking at last-action I see that it works how the command-line options could/should work: it has "Download" or "Install" or "Download,Install"; i.e. it's like checkboxes rather than radioboxes. So I figure we ought to make -D and -L together work as if you had specified nothing at all. cheers, DaveK -- Can't think of a witty .sigline today....