From e5edc319de58ce7506586ec02fcd1826b900ed71 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 11 Feb 2017 16:35:07 -0500 Subject: [PATCH] [SCons] Fix propagation of user-specified environment variables The listify function no splits on commas --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index d19054365..4d4cbd64d 100644 --- a/SConstruct +++ b/SConstruct @@ -691,10 +691,10 @@ if env['env_vars'] == 'all': if 'PYTHONHOME' in env['ENV']: del env['ENV']['PYTHONHOME'] elif env['env_vars']: - for name in listify(env['env_vars']): + for name in env['env_vars'].split(','): if name in os.environ: env['ENV'][name] = os.environ[name] - elif name not in defaults.env_vars: + elif name not in defaults.env_vars.split(','): print 'WARNING: failed to propagate environment variable', repr(name) print ' Edit cantera.conf or the build command line to fix this.'