summaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2009-08-25 00:21:45 +0000
committerDoug Barton <dougb@FreeBSD.org>2009-08-25 00:21:45 +0000
commit42ff8ab4cf747a5354b6029530480fdb6e11e926 (patch)
tree1b19f13bcdd8911f7b74768d1146453740380632 /ports-mgmt
parent- Update to 2.15.1 (diff)
In the previous update I did s/$globlist/$glob_dirs/ in multiport()
to make the code match the equivalent code in the main command line parser, but I missed one which meant that if you specified multiple glob patterns on the command line it no longer matched anything. "Hey this doesn't work anymore" by: Florian Smeets <flo@smeets.im> "I will do global searches for even small variable changes" x 1000: me
Notes
Notes: svn path=/head/; revision=240286
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmaster/files/portmaster.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports-mgmt/portmaster/files/portmaster.sh.in b/ports-mgmt/portmaster/files/portmaster.sh.in
index c789024f4b71..9ba42c671a28 100644
--- a/ports-mgmt/portmaster/files/portmaster.sh.in
+++ b/ports-mgmt/portmaster/files/portmaster.sh.in
@@ -42,7 +42,7 @@ umask 022
version () {
local rcs cvs
- rcs='$Id: portmaster,v 2.46 2009/08/21 03:35:28 dougb Exp $'
+ rcs='$Id: portmaster,v 2.47 2009/08/24 23:45:48 dougb Exp $'
cvs='$FreeBSD$'
rcs="${rcs#*,v }" ; rcs="${rcs%% *}"
@@ -1692,7 +1692,7 @@ multiport () {
glob_dirs=`find $pdb -maxdepth 1 -type d -name ${port}\*`
case "$glob_dirs" in
*\*|'') fail "$pdb/$port does not exist" ;;
- *) for dir in $globlist; do
+ *) for dir in $glob_dirs; do
worklist="$worklist ${dir#$pdb/}"
portlist="${portlist}\t${dir#$pdb/}\n"
PM_MULTI_PORTS="${PM_MULTI_PORTS}${dir#$pdb/}:"