From 4418396a456018fc1420cf309d1727fee0260e56 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Fri, 1 Oct 2010 08:29:27 +0000 Subject: Change to -UNKNOWN- so exporters can be happy too, when a build was created without svnversion (or from export). --- build_files/scons/tools/Blender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_files/scons/tools') diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py index 10583c03fac..cdfd1e10656 100644 --- a/build_files/scons/tools/Blender.py +++ b/build_files/scons/tools/Blender.py @@ -282,7 +282,7 @@ def buildinfo(lenv, build_type): build_time = time.strftime ("%H:%M:%S") build_rev = os.popen('svnversion').read()[:-1] # remove \n if build_rev == '': - build_rev = '' + build_rev = '-UNKNOWN-' if lenv['BF_DEBUG']: build_type = "Debug" else: -- cgit v1.2.3