0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

SERVER-5791: SCons shouldn't die if HOME env var is not set

This commit is contained in:
Dan Crosta 2012-05-09 14:38:01 -04:00
parent 0a20dadfa0
commit 7d43615455

View File

@ -674,9 +674,9 @@ if nix:
env.Append( LIBS=[] )
#make scons colorgcc friendly
env['ENV']['HOME'] = os.environ['HOME']
for key in ('HOME', 'TERM'):
try:
env['ENV']['TERM'] = os.environ['TERM']
env['ENV'][key] = os.environ[key]
except KeyError:
pass