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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-06-26 14:03:52 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-06-26 14:03:52 +0400
commit283abdf3b2de08c9e5be764a02e89120fe7b67da (patch)
tree55e438859ab4c2f53a09be09c35013d832253f56 /SConstruct
parent0503dc3d021bbb98a0b3a5fa9878f0a0436adcee (diff)
Fix compilation error with scons and older pythons
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index f27ba1754c1..0c85fe11cdc 100644
--- a/SConstruct
+++ b/SConstruct
@@ -285,7 +285,7 @@ if env['OURPLATFORM']=='darwin':
import subprocess
command = ["%s"%env['CC'], "--version"]
- line = subprocess.check_output(command)
+ line = btools.get_command_output(command)
ver = re.search(r'[0-9]+(\.[0-9]+[svn]+)+', line) or re.search(r'[0-9]+(\.[0-9]+)+', line) # read the "based on LLVM x.xsvn" version here, not the Apple version
if ver:
env['CCVERSION'] = ver.group(0).strip('svn')