diff options
author | Michel Selten <michel@mselten.demon.nl> | 2003-02-01 15:01:41 +0300 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2003-02-01 15:01:41 +0300 |
commit | d45c5706d79ba12f3a6ef04b6705fb8f42a48437 (patch) | |
tree | 3d096b05176b93c5a7dff89304e5ddf1310c7a07 /intern | |
parent | 4709eced07297e3f6883de435fe0dc840437d5cc (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')
-rw-r--r-- | intern/python/freeze/modulefinder.py | 2 |
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") |