diff options
author | Will Andrews <will@FreeBSD.org> | 2000-10-11 00:14:00 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-10-11 00:14:00 +0000 |
commit | ae9e3e21719bdb8d7cfe8301a0f4a2f9bf86956b (patch) | |
tree | 689a5a1329e02f863ed19eb8da34c6365ef75d79 /Tools | |
parent | c0234049cae9e082e6b82094df463bbf3936f940 (diff) | |
download | ports-ae9e3e21719bdb8d7cfe8301a0f4a2f9bf86956b.tar.gz ports-ae9e3e21719bdb8d7cfe8301a0f4a2f9bf86956b.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/addport | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport index 235a0fdeac6b..378b563a6857 100755 --- a/Tools/scripts/addport +++ b/Tools/scripts/addport @@ -29,7 +29,6 @@ my $n = ""; $n = "-n " if $opts{'n'}; my $u = $ENV{USER}; $u = $opts{'u'} if ($opts{'u'} ne ""); my $more_testing = $opts{'t'}; -my $vanilla = $opts{'v'}; my $interactive = $opts{'i'}; my $tmpdir; @@ -74,24 +73,6 @@ END { } } -# setup the list of commands to run on the new port(s). -my @commands; -if (!$vanilla) { - push(@commands, "$make clean check-categories"); - push(@commands, "$portlint"); - if (-d $distdir) { - push(@commands, "$make DISTDIR='$distdir' FETCH_BEFORE_ARGS='-btA' checksum"); - } elsif ($myhost eq "freefall.freebsd.org") { - push(@commands, "$make DISTDIR='$tmpdir' FETCH_BEFORE_ARGS='-btA' checksum"); - } else { - push(@commands, "$make FETCH_BEFORE_ARGS='-btA' checksum"); - } - if ($more_testing) { - push(@commands, "$make distclean"); - push(@commands, "$make build"); - } -} - if ($dir eq "") { warnx("Need to specify a directory with -d argument!"); usage(); @@ -120,11 +101,6 @@ foreach my $thisdir (@dirs) { chdir $thisdir or err(1, "$thisdir"); - # now run the tests on this baby. - for (@commands) { - system("$_") && errx(1, "'$_' had problems. aborting."); - } - # Get the category name and make it suitable for use with cvs my $category; $_ = `grep CATEGORIES Makefile`; @@ -268,8 +244,6 @@ OPTIONS temporary directory set up on freefall. -u user Use a different username (default: $u). -t Do more port testing - -v Plain vanilla "add it" - no testing at all. - This option overrides -t in all cases. EXAMPLES % addport -n -d greatgame,helpfuldev,shoot |