diff options
author | Glen Barber <gjb@FreeBSD.org> | 2016-01-28 23:59:34 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2016-01-28 23:59:34 +0000 |
commit | d7a8d3868c82c9cb88ea8b91ef97e73e28567a26 (patch) | |
tree | f70eb71141cb954444b0c7b21cba6d936ac96398 /Makefile.inc1 | |
parent | a5a71822df59f065eed64423dfc83cc9446e76c8 (diff) | |
download | src-test2-d7a8d3868c82c9cb88ea8b91ef97e73e28567a26.tar.gz src-test2-d7a8d3868c82c9cb88ea8b91ef97e73e28567a26.zip |
Avoid excessively invoking 'pkg bootstrap' if already done.
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/projects/release-pkg/; revision=295023
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index e49ed4015505..3b13989477f3 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1371,7 +1371,9 @@ REPODIR= ${MAKEOBJDIRPREFIX}${.CURDIR}/repo PKGSIGNKEY?= # empty _pkgbootstrap: +.if !exists(${LOCALBASE}/sbin/pkg) @env ASSUME_ALWAYS_YES=YES pkg bootstrap +.endif packages: _pkgbootstrap @mkdir -p ${WSTAGEDIR} ${KSTAGEDIR} ${REPODIR} |