Skip to content
Snippets Groups Projects
Commit 0c34510f authored by Stefan Selzer's avatar Stefan Selzer
Browse files

FIX: evaluate command

parent ae56b98d
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ def GetCompilerEnvCall(strCompiler, strCommand):
if 'GCC' in liCompilerDef[0] and '4.8' in liCompilerDef[1]:
iRC, strConsoleOutput = VistaPythonCommon.SysCall('scl -l',ExitOnError = False)
if (0 == strConsoleOutput.find('devtoolset-2')):
return "scl enable devtoolset-2 'strCommand'"
return "scl enable devtoolset-2 '" + strCommand + "'"
else:
sys.stderr.write('devtoolset for gcc-4.8 not installed.')
VistaPythonCommon.ExitGently(-1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment