From 31557758c6e720e0fb9abb7260f3e439acde1259 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Tue, 29 Apr 2014 01:37:19 +0000 Subject: [PATCH] scan-build: Don't use realpath when the user provides an explicit path. PR19583 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207484 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/scan-build/scan-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index 31dbfb4f25..03cdac3d9d 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -1584,7 +1584,7 @@ else { } } else { - $Clang = Cwd::realpath($AnalyzerDiscoveryMethod); + $Clang = $AnalyzerDiscoveryMethod; if (!defined $Clang or not -x $Clang) { DieDiag("Cannot find an executable clang at '$AnalyzerDiscoveryMethod'\n"); } -- 2.40.0