aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2011-08-16 00:09:12 +0000
committerSteve Wills <swills@FreeBSD.org>2011-08-16 00:09:12 +0000
commitc1c18af0feaf9b15231e5b954828fc21c523e6e0 (patch)
tree922bedcef938d298c5c9dccdd8814ea9760875d6 /Tools
parentb0af689990226f11294c5b78718248cfbc55191e (diff)
downloadports-c1c18af0feaf9b15231e5b954828fc21c523e6e0.tar.gz
ports-c1c18af0feaf9b15231e5b954828fc21c523e6e0.zip
- Back out category check for now
Notes
Notes: svn path=/head/; revision=279785
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/addport6
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 {