Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2011-02-18 12:39:15 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2011-02-18 12:39:15 +0300
commit708df39935adfcfc35c6996133f8e5ea1912f4df (patch)
treed5ca60dc1e3e9fcbc3c93b5d60e20f3272c2aa06 /SConstruct
parent063a7f217be43718a69f6cbcfcf322ca71bdeeb0 (diff)
Check the os.environ at the start of the build process.
Print any variable that contains a value with non-ascii characters, then abort build.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index fe60d41c48d..49c5ae98249 100644
--- a/SConstruct
+++ b/SConstruct
@@ -60,6 +60,10 @@ import bcolors
EnsureSConsVersion(1,0,0)
+# Before we do anything, let's check if we have a sane os.environ
+if not btools.check_environ():
+ Exit()
+
BlenderEnvironment = Blender.BlenderEnvironment
B = Blender