diff options
author | matthew <matthew@FreeBSD.org> | 2016-08-17 17:14:35 +0800 |
---|---|---|
committer | matthew <matthew@FreeBSD.org> | 2016-08-17 17:14:35 +0800 |
commit | e69acdb65f198443a8fbdb1c382af45a358040a3 (patch) | |
tree | d57eb9ac0a01d9b3bf5e0ecfe066970bd1cc412d /Tools | |
parent | 070b62021510b421e41a6b7967e0798ce68e5324 (diff) | |
download | freebsd-ports-graphics-e69acdb65f198443a8fbdb1c382af45a358040a3.tar.gz freebsd-ports-graphics-e69acdb65f198443a8fbdb1c382af45a358040a3.tar.zst freebsd-ports-graphics-e69acdb65f198443a8fbdb1c382af45a358040a3.zip |
Fix the '-a' option to ${PORTSDIR}/Tools/scripts/addport
Summary:
Currently addport -a ends up running a command line like:
make PORTSDIR="/tmp/ap.BsOuZJBy" clean check-categories
where the temporary directory has only parts of the ports tree
(specifically bits under ${PORTSDIR}/Mk) checked out. This can't work
as 'make check-categories' needs to see the entire ports tree checked
out.
Instead, run the checks specified by '-a' and '-t' with the value of
$PORTSDIR from the environment.
Reviewers: crees
Reviewed By: crees
Subscribers: mat
Differential Revision: https://reviews.freebsd.org/D7525
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/addport | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport index 44d3fdd5d4f..d7e4eef8815 100755 --- a/Tools/scripts/addport +++ b/Tools/scripts/addport @@ -152,7 +152,7 @@ my @commands; my $passenv = ""; if ($addlchk && -f $portlint) { $passenv = "DISTDIR=\"$distdir\"" if -d $distdir; - $passenv = $passenv . " PORTSDIR=\"$tmpdir\"" if !$nomkdir; + $passenv = $passenv . " PORTSDIR=\"$portsdir\"" if !$nomkdir; push(@commands, "$make $passenv clean check-categories"); push(@commands, "$portlint $plint_args"); push(@commands, "$make $passenv FETCH_BEFORE_ARGS='-A' checksum") if !$nofetch; |