Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Selten <michel@mselten.demon.nl>2003-02-01 15:01:41 +0300
committerMichel Selten <michel@mselten.demon.nl>2003-02-01 15:01:41 +0300
commitd45c5706d79ba12f3a6ef04b6705fb8f42a48437 (patch)
tree3d096b05176b93c5a7dff89304e5ddf1310c7a07 /intern/python
parent4709eced07297e3f6883de435fe0dc840437d5cc (diff)
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
Diffstat (limited to 'intern/python')
-rw-r--r--intern/python/freeze/modulefinder.py2
1 files changed, 2 insertions, 0 deletions
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")