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
This commit is contained in:
Kyle Evans 2020-08-23 23:56:57 +00:00
parent 8f32e493cc
commit cc249d7800
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364600
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
BINDIR= /usr/share/certs/blacklisted
BLACKLISTED_CERTS!= ls ${.CURDIR}/*.pem 2> /dev/null || true
BLACKLISTED_CERTS!= echo ${.CURDIR}/*.pem 2> /dev/null || true
FILES+= ${BLACKLISTED_CERTS}

View file

@ -2,7 +2,7 @@
BINDIR= /usr/share/certs/trusted
TRUSTED_CERTS!= ls ${.CURDIR}/*.pem 2> /dev/null || true
TRUSTED_CERTS!= echo ${.CURDIR}/*.pem 2> /dev/null || true
FILES+= ${TRUSTED_CERTS}