projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replacing HUGE_VALF with llvm::huge_valf in order to work around a warning triggered...
[oota-llvm.git]
/
utils
/
GetRepositoryPath
diff --git
a/utils/GetRepositoryPath
b/utils/GetRepositoryPath
index 326231c9e5d41c5f3abcd4b776715be0b009f9e6..2d1122e4bc4fad30cc8da658472b0e817a703716 100755
(executable)
--- a/
utils/GetRepositoryPath
+++ b/
utils/GetRepositoryPath
@@
-15,11
+15,11
@@
fi
cd $1
if [ -d .svn ]; then
cd $1
if [ -d .svn ]; then
- svn info | grep 'URL:' | cut -d: -f2-
-elif [ -
d .git/svn
]; then
+ svn info | grep '
^
URL:' | cut -d: -f2-
+elif [ -
f .git/svn/.metadata
]; then
git svn info | grep 'URL:' | cut -d: -f2-
elif [ -d .git ]; 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
else
exit 1;
fi