aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2007-04-20 20:45:01 +0800
committergarga <garga@FreeBSD.org>2007-04-20 20:45:01 +0800
commit6ceb8dfc7a4d785ded0449f85e1123f592032209 (patch)
treefb37262e04fed5054590a43babf10eef9ac459ee /Tools/scripts
parent134a953bdfc6e4f3147668619a6913f263c6a3f8 (diff)
downloadfreebsd-ports-gnome-6ceb8dfc7a4d785ded0449f85e1123f592032209.tar.gz
freebsd-ports-gnome-6ceb8dfc7a4d785ded0449f85e1123f592032209.tar.zst
freebsd-ports-gnome-6ceb8dfc7a4d785ded0449f85e1123f592032209.zip
Fix addport to work correctly with ports-mgmt category.
Reported by: miwi Tested by: miwi
Diffstat (limited to 'Tools/scripts')
-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";