misc/126006: [Patch] ports-mgmt/portmaster -- Add missing K option
to getopts
michael johnson
ahze at FreeBSD.org
Sun Jul 27 14:50:02 UTC 2008
>Number: 126006
>Category: misc
>Synopsis: [Patch] ports-mgmt/portmaster -- Add missing K option to getopts
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 27 14:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: michael johnson
>Release:
>Organization:
>Environment:
>Description:
Add missing K to getopts
>How-To-Repeat:
portmaster -K
>Fix:
Patch attached with submission follows:
Index: files/portmaster.sh.in
===================================================================
RCS file: /home/pcvs/ports/ports-mgmt/portmaster/files/portmaster.sh.in,v
retrieving revision 2.5
diff -u -r2.5 portmaster.sh.in
--- files/portmaster.sh.in 12 Jun 2008 20:33:04 -0000 2.5
+++ files/portmaster.sh.in 27 Jul 2008 14:40:56 -0000
@@ -666,7 +666,7 @@
#=============== End code relevant only to --features ===============
# Save switches for potential child processes
-while getopts 'BCDFGHLRabde:fghilm:nop:r:stuvwx:' COMMAND_LINE_ARGUMENT ; do
+while getopts 'BCDFGHLKRabde:fghilm:nop:r:stuvwx:' COMMAND_LINE_ARGUMENT ; do
case "${COMMAND_LINE_ARGUMENT}" in
B) NO_BACKUP=Bopt; ARGS="-B $ARGS" ;;
C) DONT_PRE_CLEAN=Copt; ARGS="-C $ARGS" ;;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list