From 3703a282eca7e79e91f4bd651b1b861b76dc6c68 Mon Sep 17 00:00:00 2001 From: Antonin Kral Date: Tue, 5 Jun 2012 19:50:34 +0200 Subject: Imported Upstream version 2.0.6 --- SConstruct | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 3d40050..88ea3f8 100644 --- a/SConstruct +++ b/SConstruct @@ -713,11 +713,11 @@ if nix: env.Append( LIBS=[] ) #make scons colorgcc friendly - env['ENV']['HOME'] = os.environ['HOME'] - try: - env['ENV']['TERM'] = os.environ['TERM'] - except KeyError: - pass + for key in ('HOME', 'TERM'): + try: + env['ENV'][key] = os.environ[key] + except KeyError: + pass if linux and has_option( "sharedclient" ): env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " ) -- cgit v1.2.3