Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2010 03:09:28 GMT
From:      Eitan Adler <lists@eitanadler.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/152856: [patch] allow up to be used instead of update in freebsd-update
Message-ID:  <201012060309.oB639ScD092098@red.freebsd.org>
Resent-Message-ID: <201012060310.oB63A6Mu036972@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152856
>Category:       bin
>Synopsis:       [patch] allow up to be used instead of update in freebsd-update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 06 03:10:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Eitan Adler
>Release:        
>Organization:
>Environment:
>Description:
To make it easier for users used to a VCS that allows up to be a shortcut for update.
>How-To-Repeat:

>Fix:

Index: portsnap.sh
===================================================================
--- portsnap.sh	(revision 215710)
+++ portsnap.sh	(working copy)
@@ -143,6 +143,9 @@
 		cron | extract | fetch | update)
 			COMMANDS="${COMMANDS} $1"
 			;;
+		up)
+			COMMANDS="${COMMANDS} update"
+			;;
 		*)
 			if [ $# -gt 1 ]; then usage; fi
 			if echo ${COMMANDS} | grep -vq extract; then


-- 
Eitan Adler



>Release-Note:
>Audit-Trail:
>Unformatted:



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