X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FGetRepositoryPath;h=f3b0cc56e25506917b6cca307683c48691c5e791;hb=86779ee177c11863f74a9aecb445fdd8659557e0;hp=326231c9e5d41c5f3abcd4b776715be0b009f9e6;hpb=1619beb4e2edb69aeb78cd2338a00dc201974f89;p=oota-llvm.git diff --git a/utils/GetRepositoryPath b/utils/GetRepositoryPath index 326231c9e5d..f3b0cc56e25 100755 --- a/utils/GetRepositoryPath +++ b/utils/GetRepositoryPath @@ -16,7 +16,7 @@ fi cd $1 if [ -d .svn ]; then svn info | grep 'URL:' | cut -d: -f2- -elif [ -d .git/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 }'