check for existence of %HOME% environment variable...
...to prevent invalid key error on some platforms
This commit is contained in:
parent
8c9bc9d0ff
commit
21aee16ded
1 changed files with 2 additions and 1 deletions
|
@ -120,7 +120,8 @@ else:
|
|||
|
||||
if env.get('cxxtool',""):
|
||||
env['CXX'] = env['cxxtool']
|
||||
env['ENV']['HOME'] = os.environ['HOME']
|
||||
if 'HOME' in os.environ:
|
||||
env['ENV']['HOME'] = os.environ['HOME']
|
||||
|
||||
if env['jobs'] > 1:
|
||||
SetOption("num_jobs", env['jobs'])
|
||||
|
|
Loading…
Add table
Reference in a new issue