coriolisEnv.py must not start devtoolset-2 when already active.
This commit is contained in:
parent
4fd34a85a1
commit
05ec238080
|
@ -106,6 +106,9 @@ def guessOs ():
|
||||||
|
|
||||||
print "[WARNING] Unrecognized OS: \"%s\"." % lines[0][:-1]
|
print "[WARNING] Unrecognized OS: \"%s\"." % lines[0][:-1]
|
||||||
print " (using: \"%s\")" % osType
|
print " (using: \"%s\")" % osType
|
||||||
|
|
||||||
|
ldLibraryPath = os.getenv('LD_LIBRARY_PATH')
|
||||||
|
if 'devtoolset' in ldLibraryPath: useDevtoolset2 = False
|
||||||
|
|
||||||
return (osType,libDir,useDevtoolset2)
|
return (osType,libDir,useDevtoolset2)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue