This small update should fix the build errors in python/freeze.

I added a check if the output directory (../frozen) exists and will create
the directory if it does not exist.
This time I tested it also with the NaN make environment :)

Michel
This commit is contained in:
Michel Selten 2003-02-01 12:01:41 +00:00
parent 4709eced07
commit d45c5706d7

@ -354,6 +354,8 @@ class ModuleFinder:
return imp.find_module(name, path)
def report(self):
if not os.path.exists ('../frozen'):
os.mkdir ('../frozen')
src_list = open ('../frozen/src.list', 'w')
print
print " %-25s %s" % ("Name", "File")