1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Make ar compatible with GNU and BSD in example (#4907)

Change the "ar" options in the example CertStore.AR archive generator to
make them compatible with both Linux and MacOS.
This commit is contained in:
Earle F. Philhower, III 2018-07-08 21:12:32 -07:00 committed by GitHub
parent d948a1ff2a
commit 945535ae78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ for i in range(0, len(pems)):
if os.path.exists("data/certs.ar"): if os.path.exists("data/certs.ar"):
os.unlink("data/certs.ar"); os.unlink("data/certs.ar");
arCmd = ['ar', 'mcs', 'data/certs.ar'] + derFiles; arCmd = ['ar', 'q', 'data/certs.ar'] + derFiles;
call( arCmd ) call( arCmd )
for der in derFiles: for der in derFiles: