mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
lit: Add another place to look for bash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104189 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a2086b3483
commit
b0ac8677fd
@ -71,7 +71,7 @@ class LitConfig:
|
|||||||
self.bashPath = Util.which('bash', os.pathsep.join(self.path))
|
self.bashPath = Util.which('bash', os.pathsep.join(self.path))
|
||||||
if self.bashPath is None:
|
if self.bashPath is None:
|
||||||
# Check some known paths.
|
# Check some known paths.
|
||||||
for path in ('/bin/bash', '/usr/bin/bash'):
|
for path in ('/bin/bash', '/usr/bin/bash', '/usr/local/bin/bash'):
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
self.bashPath = path
|
self.bashPath = path
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user