mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Back out category check for now
This commit is contained in:
parent
b0af689990
commit
c1c18af0fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279785
1 changed files with 0 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue