From c8305375efa93df460a9348ca7f6aaecdcadb94f Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Tue, 22 May 2018 08:00:06 -0400 Subject: [PATCH] [SCons] Remove <> from unknown git commit string The shell was interpreting these as redirect operators during compilation --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 894001569..abd406f31 100644 --- a/SConstruct +++ b/SConstruct @@ -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'] = '' + env['git_commit'] = 'unknown' # Print values of all build options: print("Configuration variables read from 'cantera.conf' and command line:")