summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-05-01 13:54:22 +0000
committerWill Andrews <will@FreeBSD.org>2001-05-01 13:54:22 +0000
commitab9d25dedb81c3bf554bc9f14361946166df6725 (patch)
tree5814ff1d5c6724ad7bc3b79c284965805f4ad859 /Tools
parentupgrade to 5.2 (diff)
Stopgap bugfix to avoid the case where a user invokes -t and ends up with
a work/ dir in the repository placed there by addport without permission. Also restore the rcsids from the predecessors of this script by removing their $'s. If I had more time, I'd just revamp parts of this script. Submitted by: greid Apologies to: greid && cvs@
Notes
Notes: svn path=/head/; revision=42131
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/addport7
1 files changed, 4 insertions, 3 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index fbfa4404f682..82f48924da1e 100755
--- a/Tools/scripts/addport
+++ b/Tools/scripts/addport
@@ -30,8 +30,8 @@
# Original shell script & idea: Will Andrews <will@FreeBSD.org>
# Original conversion to Perl : Michael Haro <mharo@FreeBSD.org>
#
-# $Id: addport,v 1.2 2000/04/02 06:21:13 will Exp $ (original shell script)
-# $Id: addport,v 1.5 2000/04/22 22:19:43 mharo Exp $ (perl conversion)
+# Id: addport,v 1.2 2000/04/02 06:21:13 will Exp (original shell script)
+# Id: addport,v 1.5 2000/04/22 22:19:43 mharo Exp (perl conversion)
# $FreeBSD$
#
# MAINTAINER= will@FreeBSD.org
@@ -129,6 +129,7 @@ if ($addlchk && -f $portlint) {
if ($more_testing) {
push(@commands, "$make $passenv distclean");
push(@commands, "$make $passenv build");
+ push(@commands, "$make $passenv distclean");
}
if (!$nomkdir) {
chdir $tmpdir;
@@ -377,7 +378,7 @@ sub query {
}
sub usage {
-#addport,v \$Revision: 1.5 $
+#addport,v \$Revision: 1.21 $
print <<EOF;
authors: <will\@FreeBSD.org>, <mharo\@FreeBSD.org>