From d45c5706d79ba12f3a6ef04b6705fb8f42a48437 Mon Sep 17 00:00:00 2001 From: Michel Selten Date: Sat, 1 Feb 2003 12:01:41 +0000 Subject: [PATCH] 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 --- intern/python/freeze/modulefinder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intern/python/freeze/modulefinder.py b/intern/python/freeze/modulefinder.py index 541fc45575f..c8d146f3daa 100644 --- a/intern/python/freeze/modulefinder.py +++ b/intern/python/freeze/modulefinder.py @@ -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")