diff options
author | swills <swills@FreeBSD.org> | 2011-08-16 08:09:12 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2011-08-16 08:09:12 +0800 |
commit | 47385414b60e3f6b9bf1ef210686263acd05a6f9 (patch) | |
tree | 5b86e764eab640f9871392b80f25af81acb2c451 | |
parent | dd0f1b1c4a90a9e60886f5e8de9795a375d35907 (diff) | |
download | freebsd-ports-gnome-47385414b60e3f6b9bf1ef210686263acd05a6f9.tar.gz freebsd-ports-gnome-47385414b60e3f6b9bf1ef210686263acd05a6f9.tar.zst freebsd-ports-gnome-47385414b60e3f6b9bf1ef210686263acd05a6f9.zip |
- Back out category check for now
-rwxr-xr-x | Tools/scripts/addport | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport index 4610c951daf8..52eab83ae191 100755 --- a/Tools/scripts/addport +++ b/Tools/scripts/addport @@ -183,8 +183,6 @@ if ($dir eq "") { # make sure we're in the right place. chdir $currentdir; my @dirs = split(/\,/, $dir); -my $portdir = $dirs[0]; -$portdir =~ s,\/.*,, ; foreach my $i (@dirs) { $i = abs_path($i); } my $portname; my $wrapat; foreach my $thisdir (@dirs) { @@ -220,10 +218,6 @@ foreach my $thisdir (@dirs) { m/([\w-]+)/; $category = $1; chomp $category; - if ($portdir ne $category) { - warnx("Port category $category doesn't match dir $portdir !"); - exit 1; - } if ($interactive) { if (prompt("Port $portname will be put in category $category. OK? " )) { do { |