File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ def main():
194194 copy (r"crypto\opensslconf.h" , r"crypto\opensslconf_%s.h" % arch )
195195
196196 # If the assembler files don't exist in tmpXX, copy them there
197- if perl is None :
197+ if perl is None and os . path . exists ( "asm" + dirsuffix ) :
198198 if not os .path .exists ("tmp" + dirsuffix ):
199199 os .mkdir ("tmp" + dirsuffix )
200200 for f in os .listdir ("asm" + dirsuffix ):
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ def main():
242242 copy (r"crypto\opensslconf.h" , r"crypto\opensslconf_%s.h" % arch )
243243
244244 # If the assembler files don't exist in tmpXX, copy them there
245- if perl is None :
245+ if perl is None and os . path . exists ( "asm" + dirsuffix ) :
246246 if not os .path .exists ("tmp" + dirsuffix ):
247247 os .mkdir ("tmp" + dirsuffix )
248248 for f in os .listdir ("asm" + dirsuffix ):
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ def main():
242242 copy (r"crypto\opensslconf.h" , r"crypto\opensslconf_%s.h" % arch )
243243
244244 # If the assembler files don't exist in tmpXX, copy them there
245- if perl is None :
245+ if perl is None and os . path . exists ( "asm" + dirsuffix ) :
246246 if not os .path .exists ("tmp" + dirsuffix ):
247247 os .mkdir ("tmp" + dirsuffix )
248248 for f in os .listdir ("asm" + dirsuffix ):
You can’t perform that action at this time.
0 commit comments