diff --git a/SConstruct b/SConstruct index 41592cd90..894001569 100644 --- a/SConstruct +++ b/SConstruct @@ -716,7 +716,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 OSError: +except Exception: env['git_commit'] = '' # Print values of all build options: