summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/buildappbundle.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/scripts/buildappbundle.py')
-rwxr-xr-xMac/scripts/buildappbundle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/scripts/buildappbundle.py b/Mac/scripts/buildappbundle.py
index 93ef14b..49a1513 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):