diff --git a/utils/GetRepositoryPath b/utils/GetRepositoryPath index b915251c1a2..2d1122e4bc4 100755 --- a/utils/GetRepositoryPath +++ b/utils/GetRepositoryPath @@ -19,7 +19,7 @@ if [ -d .svn ]; then elif [ -f .git/svn/.metadata ]; then git svn info | grep 'URL:' | cut -d: -f2- elif [ -d .git ]; then - git remote -v | grep 'fetch' | awk '{ print $2 }' + git remote -v | grep 'fetch' | awk '{ print $2 }' | head -n1 else exit 1; fi