From d80d6e28127dcfb83b11d88c993595f846ffbb02 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 12 Jul 2010 18:26:35 +0000 Subject: re-arrange build files so scons "config" dir isnt confused with ~/.blender/2.52/config --- SConstruct | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 26fa5b47198..09ada7d7f70 100644 --- a/SConstruct +++ b/SConstruct @@ -46,6 +46,9 @@ import glob import re from tempfile import mkdtemp +# needed for importing tools +sys.path.append(os.path.join(".", "build_files", "scons")) + import tools.Blender import tools.btools import tools.bcolors @@ -159,7 +162,7 @@ if crossbuild and platform not in ('win32-vc', 'win64-vc'): env['OURPLATFORM'] = platform -configfile = 'config'+os.sep+platform+'-config.py' +configfile = os.path.join("build_files", "scons", "config", platform + "-config.py") if os.path.exists(configfile): print B.bc.OKGREEN + "Using config file: " + B.bc.ENDC + configfile -- cgit v1.2.3