Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 2013 13:59:46 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        Xin LI <delphij@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r251507 - head/usr.sbin/portsnap/portsnap
Message-ID:  <51B249C2.5040201@mu.org>
In-Reply-To: <201306072021.r57KLUfD046462@svn.freebsd.org>
References:  <201306072021.r57KLUfD046462@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51B249C2.5040201>