diff --git a/llvm/utils/GetRepositoryPath b/llvm/utils/GetRepositoryPath index f3b0cc56e255..b915251c1a29 100755 --- a/llvm/utils/GetRepositoryPath +++ b/llvm/utils/GetRepositoryPath @@ -15,7 +15,7 @@ fi cd $1 if [ -d .svn ]; then - svn info | grep 'URL:' | cut -d: -f2- + svn info | grep '^URL:' | cut -d: -f2- elif [ -f .git/svn/.metadata ]; then git svn info | grep 'URL:' | cut -d: -f2- elif [ -d .git ]; then