summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/SCons/Tools/AppBundle.py')
-rw-r--r--BuildTools/SCons/Tools/AppBundle.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/BuildTools/SCons/Tools/AppBundle.py b/BuildTools/SCons/Tools/AppBundle.py
index 92ab814..c271575 100644
--- a/BuildTools/SCons/Tools/AppBundle.py
+++ b/BuildTools/SCons/Tools/AppBundle.py
@@ -1,4 +1,4 @@
-import SCons.Util
+import SCons.Util, os.path
def generate(env) :
def createAppBundle(env, bundle, version = "1.0", resources = [], frameworks = [], info = {}) :
@@ -37,8 +37,8 @@ def generate(env) :
"""
env.WriteVal(bundleContentsDir + "/Info.plist", env.Value(plist))
- for resource in resources :
- env.Install(resourcesDir, resource)
+ for (target, resource) in resources.items() :
+ env.Install(os.path.join(resourcesDir, target), resource)
for framework in frameworks :
env.Install(frameworksDir, framework)