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:
parent
d948a1ff2a
commit
945535ae78
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user