From b1f11e9732de6289231ab2ed900902475e3c043e Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 3 Oct 2015 10:41:15 -0700 Subject: [PATCH] env['NAME'] instead of env['_name'] --- SConstruct | 2 +- site_scons/erw.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 106f7f5..d44a6d5 100644 --- a/SConstruct +++ b/SConstruct @@ -33,7 +33,7 @@ for mode in (MODE.split(',') if MODE else ['debug']): print 'Skipping invalid mode: {}'.format(mode) break - out_dir = BUILD_DIR.Dir(env['_name']) + out_dir = BUILD_DIR.Dir(env['NAME']) # Allow same directory includes. env.Append(CPPPATH=['.']) diff --git a/site_scons/erw.py b/site_scons/erw.py index 4742080..9ac6aa3 100644 --- a/site_scons/erw.py +++ b/site_scons/erw.py @@ -24,7 +24,7 @@ class Environment(SCons.Environment.Environment): super(Environment, self).__init__(**kwargs) - self['_name'] = name + self['NAME'] = name # Modern C/C++ if modern: