diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2004-09-26 13:14:46 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2004-09-26 13:14:46 +0400 |
commit | 395fda6d8d2ac14157ec0c4bdb0ce53724084cb1 (patch) | |
tree | 9c9b8587b1e69bc50a1ae5d65bf32745842b2874 /tools/scons | |
parent | e43ea677abc03ee6e76cd7429ef7fb983c0366a9 (diff) |
user_options_dict from appit() were missing bs_globals.
Diffstat (limited to 'tools/scons')
-rw-r--r-- | tools/scons/bs/bs_arc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/scons/bs/bs_arc.py b/tools/scons/bs/bs_arc.py index 43b191a473a..f06254cc93a 100644 --- a/tools/scons/bs/bs_arc.py +++ b/tools/scons/bs/bs_arc.py @@ -40,7 +40,7 @@ def appit(target, source, env): commands.getoutput(cmd) cmd = 'cp %s %s.app/Contents/MacOS/%s'%(target, target, target) commands.getoutput(cmd) - if user_options_dict['BUILD_BINARY'] == 'debug': + if bs_globals.user_options_dict['BUILD_BINARY'] == 'debug': print "building debug" else : cmd = 'strip -u -r %s.app/Contents/MacOS/%s'%(target, target) @@ -65,7 +65,7 @@ def appit(target, source, env): cmd = 'find %s.app -name .DS_Store -exec rm -rf {} \;'%target commands.getoutput(cmd) - if user_options_dict['BUILD_BLENDER_PLAYER'] == 1: + if bs_globals.user_options_dict['BUILD_BLENDER_PLAYER'] == 1: target = 'blenderplayer' sourceinfo = "source/darwin/%s.app/Contents/Info.plist"%target targetinfo = "%s.app/Contents/Info.plist"%target @@ -78,7 +78,7 @@ def appit(target, source, env): commands.getoutput(cmd) cmd = 'cp %s %s.app/Contents/MacOS/%s'%(target, target, target) commands.getoutput(cmd) - if user_options_dict['BUILD_BINARY'] == 'debug': + if bs_globals.user_options_dict['BUILD_BINARY'] == 'debug': print "building debug player" else : cmd = 'strip -u -r %s.app/Contents/MacOS/%s'%(target, target) |