mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +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))
|
||||
if self.bashPath is None:
|
||||
# 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):
|
||||
self.bashPath = path
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user