summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-05-01 13:54:22 +0000
committerwill <will@FreeBSD.org>2001-05-01 13:54:22 +0000
commit5b97f641880941f91b7a348b9390fee217ae3062 (patch)
tree6404397e5308e39dcf3aaae36222954163b06e19 /Tools
parent5c2c8cf7e8b1753ffce8c92367924007102b721f (diff)
downloadFreeBSD-ports-5b97f641880941f91b7a348b9390fee217ae3062.zip
FreeBSD-ports-5b97f641880941f91b7a348b9390fee217ae3062.tar.gz
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@
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 fbfa440..82f4892 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>
OpenPOWER on IntegriCloud