summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2007-04-20 12:45:01 +0000
committerRenato Botelho <garga@FreeBSD.org>2007-04-20 12:45:01 +0000
commit75b87da47387271612daa74732248a1d4bd647de (patch)
tree283d3e745390ee5e5c26a234037ca386a66d111b
parentGenplist automatically creates a static plist for a port by installing it (diff)
Fix addport to work correctly with ports-mgmt category.
Reported by: miwi Tested by: miwi
Notes
Notes: svn path=/head/; revision=190442
-rwxr-xr-xTools/scripts/addport2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index d931807bc90a..11c3981acfad 100755
--- a/Tools/scripts/addport
+++ b/Tools/scripts/addport
@@ -229,7 +229,7 @@ foreach my $thisdir (@dirs) {
}
}
chomp(my $cvs_category = $category);
- $cvs_category =~ s/-/_/g;
+ $cvs_category =~ s/-/_/g if ($cvs_category !~ /ports-mgmt/);
$module = "$l10nprefix{$category}$portname";