bin/152856: [patch] allow up to be used instead of update in freebsd-update

Eitan Adler lists at eitanadler.com
Mon Dec 6 03:10:07 UTC 2010


>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:


More information about the freebsd-bugs mailing list