]> granicus.if.org Git - python/commitdiff
Make the Resources directory if needed.
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 15 Nov 2002 00:07:31 +0000 (00:07 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 15 Nov 2002 00:07:31 +0000 (00:07 +0000)
Mac/scripts/buildappbundle.py

index 93ef14b4831a887a7cfbc7d7f1fe0172991d93ed..49a15137821d1185c650aeabf077de36975337b9 100755 (executable)
@@ -101,6 +101,8 @@ def buildappbundle(executable, output=None, copyfunc=None, creator=None,
        #
        if resources:
                resdir = os.path.join(contents, 'Resources')
+               if not os.path.isdir(resdir):
+                       os.mkdir(resdir)
                for src in resources:
                        dst = os.path.join(resdir, os.path.split(src)[1])
                        if os.path.isdir(src):