summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2010-06-06 09:30:54 +0000
committerRomain Tartière <romain@FreeBSD.org>2010-06-06 09:30:54 +0000
commit4a54a88a4f6866832e2e0d333427f9856e36cc81 (patch)
treef775770e789d372c23ce6be94c76f0de8ad6e8b8 /Tools
parentUpdate to 20100605 version of the FreeBSD docset. (diff)
- Unbreak the -n flag;
- Remove invalid reference to freefall. Approved by: garga
Notes
Notes: svn path=/head/; revision=255899
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/addport11
1 files changed, 5 insertions, 6 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index 416152ede89d..5f8d4116cce7 100755
--- a/Tools/scripts/addport
+++ b/Tools/scripts/addport
@@ -307,7 +307,7 @@ foreach my $thisdir (@dirs) {
}
chdir $category or err(1,"$category");
system("$cp -PRp $thisdir .");
- system("$cvs $n add `find $portname -type d | grep -v CVS | grep -v '^$portname/work'`") && errx(1, "cvs add for dirs failed, aborting.");
+ system("$cvs add `find $portname -type d | grep -v CVS | grep -v '^$portname/work'`") && errx(1, "cvs add for dirs failed, aborting.");
my $gotfiles = 0;
if ($binfiles) {
@@ -320,10 +320,10 @@ foreach my $thisdir (@dirs) {
}
if ($binfiles && $gotfiles > 0) {
- system("$cvs $n add `find $portname -type f | grep -v CVS | grep -v '^$portname/files/.*patch-.*' | grep -v '^$portname/work'`") && errx(1, "cvs add for files failed, aborting.");
- system("$cvs $n add -ko `find $portname -type f | grep -v CVS | grep -v '^$portname/work' | grep '^$portname/files/.*patch-.*'`") && errx(1, "cvs add for files failed, aborting.");
+ system("$cvs add `find $portname -type f | grep -v CVS | grep -v '^$portname/files/.*patch-.*' | grep -v '^$portname/work'`") && errx(1, "cvs add for files failed, aborting.");
+ system("$cvs add -ko `find $portname -type f | grep -v CVS | grep -v '^$portname/work' | grep '^$portname/files/.*patch-.*'`") && errx(1, "cvs add for files failed, aborting.");
} else {
- system("$cvs $n add `find $portname -type f | grep -v CVS | grep -v '^$portname/work'`") && errx(1, "cvs add for files failed, aborting.");
+ system("$cvs add `find $portname -type f | grep -v CVS | grep -v '^$portname/work'`") && errx(1, "cvs add for files failed, aborting.");
}
# figure out where the port name belongs in category Makefile
@@ -445,8 +445,7 @@ OPTIONS
of portlinting etc).
-n Do not actually commit anything.
-s distdir Use a different directory besides the default,
- for downloading distfiles. This defaults to the
- temporary directory set up on freefall.
+ for downloading distfiles.
-t Do more port testing. Requires -a.
-u user Use a different username (default: $u).