summaryrefslogtreecommitdiff
path: root/utils/GetRepositoryPath
diff options
context:
space:
mode:
Diffstat (limited to 'utils/GetRepositoryPath')
-rwxr-xr-xutils/GetRepositoryPath2
1 files changed, 1 insertions, 1 deletions
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 }'