delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
To: | cygwin AT cygwin DOT com |
From: | Christopher Cobb <ccobb AT email DOT com> |
Subject: | Re: installing packages using setup.exe from the command line (e.g., remotely) |
Date: | Fri, 20 Aug 2004 18:59:39 +0000 (UTC) |
Lines: | 19 |
Message-ID: | <loom.20040820T205501-485@post.gmane.org> |
References: | <loom DOT 20040819T173137-946 AT post DOT gmane DOT org> <00c801c4860a$adcd62d0$78d96f83 AT robinson DOT cam DOT ac DOT uk> <loom DOT 20040819T224628-719 AT post DOT gmane DOT org> <4126053B DOT 6050205 AT x-ray DOT at> <Pine DOT GSO DOT 4 DOT 61 DOT 0408201142240 DOT 899 AT slinky DOT cs DOT nyu DOT edu> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | main.gmane.org |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-Loom-IP: | 162.70.244.40 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.8) |
X-IsSubscribed: | yes |
Igor Pechtchanski <pechtcha <at> cs.nyu.edu> writes: > FWIW, why not > > INSTALL_SITE_DIR=$PACKAGES_DIR/$(cd $PACKAGES_DIR && \ > ls -1td $(cat /etc/setup/last-mirror | \ > perl -pe 's/([^A-Za-z0-9\-_.!~*()\n])/"%".unpack("H2",$1)/eg') | \ > head -1) # most recently modified install dir > I didn't know about /etc/setup/last-mirror. :) If we use that, do we still need the ls ... | head -1? Isn't that enough to unambiguaously identify the latest site dir, or is their more going on here? cc -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |