On "Unix", if Program::FindProgramByName is given a name containing
authorDan Gohman <gohman@apple.com>
Tue, 28 Jul 2009 23:25:18 +0000 (23:25 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 28 Jul 2009 23:25:18 +0000 (23:25 +0000)
commita87861e4f88a40705e99c92ce3f01e4c365945de
treebb3ec320f3d8902ea56f75b54d5bf646897a50d7
parentfd29440c07f195d7c059efeb50fe0c5905d88b3b
On "Unix", if Program::FindProgramByName is given a name containing
slashes, just go with it, regardless of whether it looks like it will
be executable. This follows the behavior of sh(1) more closely.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77396 91177308-0d34-0410-b5e6-96231b3b80d8
lib/System/Unix/Program.inc