mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04: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
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue