aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-09-21 09:03:32 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-09-21 09:03:32 +0000
commit6129f33eb2416b5573a780b7bba3e9a591cf690a (patch)
treec8f0c8bcef1e083f9e62c055562fb884187f1e34 /Makefile.inc1
parente307eb94ae520d98dc1d346a0c53667a41beab5d (diff)
downloadsrc-6129f33eb2416b5573a780b7bba3e9a591cf690a.tar.gz
src-6129f33eb2416b5573a780b7bba3e9a591cf690a.zip
Prefer bootstrapped tools when running certctl.sh
Otherwise we get lots of warnings when building on Linux/macOS during installworld: Scanning /local/scratch/alr48/cheri/output/freebsd-x86/usr/share/certs/blacklisted for certificates... install: invalid option -- 'U' Try 'install --help' for more information. install: invalid option -- 'U' .... Reviewed By: kevans Differential Revision: https://reviews.freebsd.org/D26481
Notes
Notes: svn path=/head/; revision=365939
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 20019573ea26..de4970efeef6 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1451,7 +1451,7 @@ distributeworld installworld stageworld: _installcheck_world .PHONY
.endif # make(distributeworld)
.if !make(packageworld) && ${MK_CAROOT} != "no"
@if which openssl>/dev/null; then \
- DESTDIR=${CERTCTLDESTDIR} \
+ DESTDIR=${CERTCTLDESTDIR} PATH=${TMPPATH}:${PATH} \
sh ${SRCTOP}/usr.sbin/certctl/certctl.sh ${CERTCTLFLAGS} rehash \
else \
echo "No openssl on the host, not rehashing certificates target -- /etc/ssl may not be populated."; \