forked from OSchip/llvm-project
test: add missing splat
The parameter here is a list, not a string. Ensure that the we splat the list into arguments prior to invoke os.path.join. This would previously fail with a `startswith` is not a member of `list`. llvm-svn: 269627
This commit is contained in:
parent
81eadde6ca
commit
c0d0e36197
|
@ -640,7 +640,7 @@ def setupSysPath():
|
|||
python_resource_dir = ['LLDB.framework', 'Resources', 'Python']
|
||||
outputPaths = getXcodeOutputPaths(lldbRootDirectory)
|
||||
for outputPath in outputPaths:
|
||||
candidatePath = os.path.join(outputPath, python_resource_dir)
|
||||
candidatePath = os.path.join(outputPath, *python_resource_dir)
|
||||
if os.path.isfile(os.path.join(candidatePath, init_in_python_dir)):
|
||||
lldbPythonDir = candidatePath
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue