aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-02-16 15:23:21 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-02-16 15:23:21 +0000
commitb4b7d18cdfb5e40d0301995d817990093436e3ce (patch)
treecff241621ac354d9f8a34b6e2e655f7c5275270f /Tools
parentfcd95201e5522bb77cbb8bf0b1e0bf57dadc4ae1 (diff)
downloadports-b4b7d18cdfb5e40d0301995d817990093436e3ce.tar.gz
ports-b4b7d18cdfb5e40d0301995d817990093436e3ce.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/addport4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index 6ae6c51a6658..d95ce016f79e 100755
--- a/Tools/scripts/addport
+++ b/Tools/scripts/addport
@@ -193,8 +193,8 @@ foreach my $thisdir (@dirs) {
# Get the category name and make it suitable for use with cvs
my $category;
- $_ = `grep CATEGORIES Makefile`;
- m/\w+\W+([\w-]+)/;
+ $_ = `$make -V CATEGORIES`;
+ m/([\w-]+)/;
$category = $1;
chomp $category;
if ($interactive) {