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:
parent
0a20dadfa0
commit
7d43615455
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user