From fca7e12ec4a3d6638b4706c4c0dc861251c8cda3 Mon Sep 17 00:00:00 2001 From: nork Date: Sun, 16 Feb 2003 15:23:21 +0000 Subject: Change how to get CATEGORIES tag from new port for slave port. Approved by: will --- Tools/scripts/addport | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tools') 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) { -- cgit