projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add stub methods for mips assembly matcher.
[oota-llvm.git]
/
utils
/
GetRepositoryPath
diff --git
a/utils/GetRepositoryPath
b/utils/GetRepositoryPath
index 326231c9e5d41c5f3abcd4b776715be0b009f9e6..f3b0cc56e25506917b6cca307683c48691c5e791 100755
(executable)
--- 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 }'