fully qualify variable names to fix bug under Solaris.
authorStephen Swaney <sswaney@centurytel.net>
Mon, 27 Sep 2004 23:04:10 +0000 (23:04 +0000)
committerStephen Swaney <sswaney@centurytel.net>
Mon, 27 Sep 2004 23:04:10 +0000 (23:04 +0000)
reported by Casey Corn.

tools/scons/bs/bs_arc.py

index f06254cc93a37b4fcef5e8ab0c0773fb71891118..c591f7e31627cd0a06ae22ff31d9cd27904177ce 100644 (file)
@@ -234,8 +234,8 @@ def BlenderRelease(target):
                        release_env.Depends(releaseit, bs_globals.playername)
                release_env.Alias("release", releaseit)
        else:
-               release_env = init_env.Copy()
+               release_env = bs_globals.init_env.Copy()
                releaseit = release_env.Command('blender.tar.gz', bs_globals.appname, printadd)
-               if user_options_dict['BUILD_BLENDER_PLAYER'] == 1:
+               if bs_globals.user_options_dict['BUILD_BLENDER_PLAYER'] == 1:
                        release_env.Depends(releaseit, bs_globals.playername)
-               release_env.Alias("release", releaseit)
\ No newline at end of file
+               release_env.Alias("release", releaseit)