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:
parent
8f32e493cc
commit
cc249d7800
@ -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}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user