scons: make things work when EXTRAS is not defined.
--HG-- extra : convert_revision : 83562b55ec099e609c64cd42eb47a8481e4e85e7
This commit is contained in:
parent
d4e69c006b
commit
cda354b070
1 changed files with 2 additions and 0 deletions
|
@ -436,6 +436,8 @@ all_cpu_list.sort()
|
||||||
default_cpus.sort()
|
default_cpus.sort()
|
||||||
|
|
||||||
def ExtraPathValidator(key, val, env):
|
def ExtraPathValidator(key, val, env):
|
||||||
|
if not val:
|
||||||
|
return
|
||||||
paths = val.split(':')
|
paths = val.split(':')
|
||||||
for path in paths:
|
for path in paths:
|
||||||
path = os.path.expanduser(path)
|
path = os.path.expanduser(path)
|
||||||
|
|
Loading…
Reference in a new issue