[SCons] Remove <> from unknown git commit string

The shell was interpreting these as redirect operators during compilation
This commit is contained in:
Bryan W. Weber 2018-05-22 08:00:06 -04:00
parent 3fac5f2bc6
commit c8305375ef
No known key found for this signature in database
GPG key ID: 3A93E209C87E1FE7

View file

@ -717,7 +717,7 @@ env['cantera_short_version'] = '.'.join(str(x) for x in ctversion.version[:2])
try:
env['git_commit'] = getCommandOutput('git', 'rev-parse', '--short', 'HEAD')
except Exception:
env['git_commit'] = '<unknown>'
env['git_commit'] = 'unknown'
# Print values of all build options:
print("Configuration variables read from 'cantera.conf' and command line:")