Change <UNKNOWN> to -UNKNOWN- so exporters can be happy too, when a build was created without svnversion (or from export).

This commit is contained in:
Nathan Letwory 2010-10-01 08:29:27 +00:00
parent b85f779355
commit 4418396a45
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '<UNKNOWN>'
build_rev = '-UNKNOWN-'
if lenv['BF_DEBUG']:
build_type = "Debug"
else: