Sometimes you need a pause for a month or two to find one-liner for the
problem you thought is too complex. Allow simple "-subpkg" to be used instead of ugly ",-subpkg" for portbump.
This commit is contained in:
parent
6a4bc96c12
commit
4efe72d480
@ -332,7 +332,9 @@ for (@ARGV) {
|
||||
# zap any FLAVOR information to make it easier to feed from of sqlports
|
||||
s/,+[^,-]*/,/g;
|
||||
|
||||
# XXX handle "-" subpackage case?
|
||||
# Allow simple "-subpkg" instead of ugly ",-subpkg"
|
||||
s/^-/,-/;
|
||||
|
||||
if (/^(.*),(-.+)$/) {
|
||||
my $subdir = $1 || ".";
|
||||
if (defined $allpkgs{$subdir}) {
|
||||
|
Loading…
Reference in New Issue
Block a user