diff options
author | romain <romain@FreeBSD.org> | 2010-06-06 17:30:54 +0800 |
---|---|---|
committer | romain <romain@FreeBSD.org> | 2010-06-06 17:30:54 +0800 |
commit | c0539cce1aac09111c4f745728411213d5a060e7 (patch) | |
tree | b3eb6688058885c8f65277efacf57472df5db3d3 /Tools/scripts | |
parent | b5d5ef1f583e931e189a5637c3347fb9e95d0d68 (diff) | |
download | freebsd-ports-gnome-c0539cce1aac09111c4f745728411213d5a060e7.tar.gz freebsd-ports-gnome-c0539cce1aac09111c4f745728411213d5a060e7.tar.zst freebsd-ports-gnome-c0539cce1aac09111c4f745728411213d5a060e7.zip |
- Unbreak the -n flag;
- Remove invalid reference to freefall.
Approved by: garga
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/addport | 11 |
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). |