Date: Sun, 27 Jul 2008 14:41:49 GMT From: michael johnson <ahze@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/126006: [Patch] ports-mgmt/portmaster -- Add missing K option to getopts Message-ID: <200807271441.m6REfn77010764@www.freebsd.org> Resent-Message-ID: <200807271450.m6REo1gL038005@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807271441.m6REfn77010764>