forked from OSchip/llvm-project
Fix a typo in mac SIP workaround
presumably the or subexpression was meant to be evaluated first. The way it is now means that we apply the workaround for any python in `/usr`, which matches pretty much every unix system. llvm-svn: 341167
This commit is contained in:
parent
bca94773b7
commit
d9e8c773de
|
@ -71,8 +71,8 @@ class LLDBTest(TestFormat):
|
|||
# libraries into system binaries, but this can be worked around by
|
||||
# copying the binary into a different location.
|
||||
if 'DYLD_INSERT_LIBRARIES' in test.config.environment and \
|
||||
sys.executable.startswith('/System/') or \
|
||||
sys.executable.startswith('/usr/'):
|
||||
(sys.executable.startswith('/System/') or \
|
||||
sys.executable.startswith('/usr/')):
|
||||
builddir = getBuildDir(cmd)
|
||||
mkdir_p(builddir)
|
||||
copied_python = os.path.join(builddir, 'copied-system-python')
|
||||
|
|
Loading…
Reference in New Issue