Avoid excessively invoking 'pkg bootstrap' if already done.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
319532475b
commit
d935c3599c
@ -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