From 395fda6d8d2ac14157ec0c4bdb0ce53724084cb1 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Sun, 26 Sep 2004 09:14:46 +0000 Subject: [PATCH] user_options_dict from appit() were missing bs_globals. --- tools/scons/bs/bs_arc.py | 6 +++--- 1 file 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)