Avoid excessively invoking 'pkg bootstrap' if already done.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a5a71822df
commit
d7a8d3868c
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user