freebsd-nq/secure/caroot/trusted/Makefile
Kyle Evans cc249d7800 caroot: switch to using echo+shell glob to enumerate certs
This solves an issue on stable/12 that causes certs to not get installed.
ls is apparently not in PATH during installworld, so TRUSTED_CERTS ends up
blank and nothing gets installed. We don't really require anything
ls-specific, though, so let's just simplify it.

MFC after:	3 days
2020-08-23 23:56:57 +00:00

13 lines
222 B
Makefile

# $FreeBSD$
BINDIR= /usr/share/certs/trusted
TRUSTED_CERTS!= echo ${.CURDIR}/*.pem 2> /dev/null || true
FILES+= ${TRUSTED_CERTS}
cleancerts:
@[ -z "${TRUSTED_CERTS}" ] || rm ${TRUSTED_CERTS}
.include <bsd.prog.mk>