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>2013-11-16 22:00:02 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-11-16 22:02:27 +0400
commit09ecfc318cb808a578d5211e44051d28e1de0706 (patch)
tree0ee3127e37784f2b898ab8659d84dd21e32577c4 /build_files/scons/tools
parente8bd916ba5e6d65c8bcf246f3fa3fba5e0e7bdb1 (diff)
Fixes for buildinfo of exported source tree
- Better to set branch/hash to "unknown" so it's clear build is done from exported tree. - SCons used to reference undefined variable.
Diffstat (limited to 'build_files/scons/tools')
-rw-r--r--build_files/scons/tools/Blender.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py
index 8715c2367e4..fac81953476 100644
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -415,9 +415,9 @@ def buildinfo(lenv, build_type):
build_hash = os.popen('git rev-parse --short HEAD').read().strip()
build_branch = os.popen('git rev-parse --abbrev-ref HEAD').read().strip()
else:
- build_hash = ''
- build_change = 'unknown'
- build_branch = ''
+ build_hash = 'unknown'
+ build_commit_timestamp = '0'
+ build_branch = 'unknown'
if lenv['BF_DEBUG']:
build_type = "Debug"