From: Daniel Dunbar Date: Wed, 19 May 2010 23:56:09 +0000 (+0000) Subject: lit: Add another place to look for bash. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b0ac8677fdcfacea2ff62251ea6515fe6665e37e;p=oota-llvm.git 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 --- diff --git a/utils/lit/lit/LitConfig.py b/utils/lit/lit/LitConfig.py index 9b62470902b..ac4859137e5 100644 --- a/utils/lit/lit/LitConfig.py +++ b/utils/lit/lit/LitConfig.py @@ -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