mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
Moved output to build/baselines
This commit is contained in:
@@ -505,10 +505,10 @@ profile:'''.format(other_header,other_header,version_yaml['os'],version_yaml['ve
|
|||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if os.path.isdir("../build/" + other_header.lower() + "/baseline/") == False:
|
if os.path.isdir("../build/baselines/") == False:
|
||||||
os.mkdir("../build/" + other_header.lower() + "/baseline")
|
os.mkdir("../build/baselines")
|
||||||
|
|
||||||
with open("../build/" + other_header.lower() + "/baseline/" + other_header.lower().replace(" ","_") + ".yaml",'w') as fw:
|
with open("../build/baselines/" + other_header.lower().replace(" ","_") + ".yaml",'w') as fw:
|
||||||
fw.write(full_baseline)
|
fw.write(full_baseline)
|
||||||
print(other_header.lower().replace(" ","_") + ".yaml baseline file created in build/" + other_header + "/baseline/")
|
print(other_header.lower().replace(" ","_") + ".yaml baseline file created in build/" + other_header + "/baseline/")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user