diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-11-15 00:07:31 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-11-15 00:07:31 (GMT) |
commit | d892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1 (patch) | |
tree | a17901fa2848f87101296d8d925db4cdc16901ae /Mac/scripts/buildappbundle.py | |
parent | 180ceedc0930beb336b16cb73d6ef8ee09e40e81 (diff) | |
download | cpython-d892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1.zip cpython-d892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1.tar.gz cpython-d892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1.tar.bz2 |
Make the Resources directory if needed.
Diffstat (limited to 'Mac/scripts/buildappbundle.py')
-rwxr-xr-x | Mac/scripts/buildappbundle.py | 2 |
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): |