mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364600
@ -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