summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-11-15 00:07:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-11-15 00:07:31 (GMT)
commitd892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1 (patch)
treea17901fa2848f87101296d8d925db4cdc16901ae /Mac
parent180ceedc0930beb336b16cb73d6ef8ee09e40e81 (diff)
downloadcpython-d892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1.zip
cpython-d892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1.tar.gz
cpython-d892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1.tar.bz2
Make the Resources directory if needed.
Diffstat (limited to 'Mac')
-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):