Basic: Update getClangRepositoryPath for my change to integration branch layout.

llvm-svn: 103192
This commit is contained in:
Daniel Dunbar 2010-05-06 18:39:38 +00:00
parent 4fa0d5f2bd
commit 0b9729887c
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ llvm::StringRef getClangRepositoryPath() {
if (End)
URLEnd = End;
End = strstr(URL, "/clang/tools/clang");
// Strip off version from a build from an integration branch.
End = strstr(URL, "/src/tools/clang");
if (End)
URLEnd = End;