summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/GetRepositoryPath2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/GetRepositoryPath b/utils/GetRepositoryPath
index b915251c1a..2d1122e4bc 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