From ab9d25dedb81c3bf554bc9f14361946166df6725 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Tue, 1 May 2001 13:54:22 +0000 Subject: 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@ --- Tools/scripts/addport | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Tools/scripts/addport') 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 # Original conversion to Perl : Michael Haro # -# $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 <, -- cgit v1.2.3