gnu: nss-certs: Use invoke.

* gnu/packages/certs.scm (nss-certs)[arguments]: Use invoke to detect errors
while running 'certdata2pem.py'.
This commit is contained in:
Mark H Weaver 2018-03-23 03:25:12 -04:00
parent f050ebcfed
commit dbf5b1186e
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -121,7 +121,7 @@ (define (maybe-install-cert file)
(mkdir-p certsdir)
(with-directory-excursion "nss/lib/ckfw/builtins/"
;; extract single certificates from blob
(system* "certdata2pem.py" "certdata.txt")
(invoke "certdata2pem.py" "certdata.txt")
;; copy selected .pem files into the output
(for-each maybe-install-cert
(find-files "." ".*\\.pem")))