From owner-svn-src-head@FreeBSD.ORG Fri Jun 7 20:59:50 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CE1C8ADC; Fri, 7 Jun 2013 20:59:50 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id BDCE915D0; Fri, 7 Jun 2013 20:59:50 +0000 (UTC) Received: from kruse-124.4.ixsystems.com (drawbridge.ixsystems.com [206.40.55.65]) by elvis.mu.org (Postfix) with ESMTPSA id 53BFA1A3C1B; Fri, 7 Jun 2013 13:59:48 -0700 (PDT) Message-ID: <51B249C2.5040201@mu.org> Date: Fri, 07 Jun 2013 13:59:46 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Xin LI Subject: Re: svn commit: r251507 - head/usr.sbin/portsnap/portsnap References: <201306072021.r57KLUfD046462@svn.freebsd.org> In-Reply-To: <201306072021.r57KLUfD046462@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 20:59:50 -0000 Oh no, you made me destructive!! :) -Alfred On 6/7/13 1:21 PM, Xin LI wrote: > Author: delphij > Date: Fri Jun 7 20:21:30 2013 > New Revision: 251507 > URL: http://svnweb.freebsd.org/changeset/base/251507 > > Log: > Make 'portsnap alfred' overwrite ports tree if it's not created by a > portsnap. > > Discussed with: alfred > Reviewed by: cperciva > > Modified: > head/usr.sbin/portsnap/portsnap/portsnap.sh > > Modified: head/usr.sbin/portsnap/portsnap/portsnap.sh > ============================================================================== > --- head/usr.sbin/portsnap/portsnap/portsnap.sh Fri Jun 7 19:45:04 2013 (r251506) > +++ head/usr.sbin/portsnap/portsnap/portsnap.sh Fri Jun 7 20:21:30 2013 (r251507) > @@ -1113,7 +1113,7 @@ cmd_alfred() { > else > cmd_cron > fi > - if [ -d ${PORTSDIR} ]; then > + if [ -r ${PORTSDIR}/.portsnap.INDEX ]; then > cmd_update > else > cmd_extract >