X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FGetRepositoryPath;h=2d1122e4bc4fad30cc8da658472b0e817a703716;hb=1c76fb5008701191c4cb0e395c76de9d9c17c529;hp=b915251c1a29c9510a3d94e3428dfe7db4770872;hpb=9c38ba4f9f2cf69ed21cf4c31141273d58f5cf6b;p=oota-llvm.git 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