From: Jack Jansen Date: Fri, 15 Nov 2002 00:07:31 +0000 (+0000) Subject: Make the Resources directory if needed. X-Git-Tag: v2.3c1~3408 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1;p=python Make the Resources directory if needed. --- diff --git a/Mac/scripts/buildappbundle.py b/Mac/scripts/buildappbundle.py index 93ef14b483..49a1513782 100755 --- a/Mac/scripts/buildappbundle.py +++ b/Mac/scripts/buildappbundle.py @@ -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):