From d892d4e1c0a99dcd2ce4d2dae7f5b96fa94d7ca1 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 15 Nov 2002 00:07:31 +0000 Subject: Make the Resources directory if needed. --- Mac/scripts/buildappbundle.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- cgit v0.12