Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 9c38ba4

Browse files
committed
Fix build failure reported by Tobias Markmann in bug 17203.
svn 1.8.0 emits an additional line matching 'URL:' in its 'svn info' command ('Relative URL:'). Changed the grep to match only the intended line so that a valid SVNVersion.inc is generated. The problem doesnt occur with the svn version I'm using (1.7.5) but Tobias has confirmed that the change fixes the problem. See http://llvm.org/bugs/show_bug.cgi?id=17203 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190685 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 8312905 commit 9c38ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/GetRepositoryPath

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fi
1515

1616
cd $1
1717
if [ -d .svn ]; then
18-
svn info | grep 'URL:' | cut -d: -f2-
18+
svn info | grep '^URL:' | cut -d: -f2-
1919
elif [ -f .git/svn/.metadata ]; then
2020
git svn info | grep 'URL:' | cut -d: -f2-
2121
elif [ -d .git ]; then

0 commit comments

Comments
 (0)