1# Build the genanchors target against the Base SDK.
2
3# Run the following commands:
4
5rm -rf resources/roots
6svn export svn+ssh://src.apple.com/svn/security/tla/trunk/security_certificates/roots resources/roots
7svn cat svn+ssh://src.apple.com/svn/security/tla/trunk/security_certificates/buildEVRoots | awk '
8BEGIN {s = 0}
9/# ------------------------------------------------------------------------------/ { s = 1 }
10/EOF/ {s = 0}
11{ if(s == 1) { print }}' > resources/evroot.config
12~/build/Debug/genanchors -a resources/roots -e resources/evroot.config -a resources/roots > evroots.h
13
14#Then commit the new evroots.h and evroot.config
15