projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Specify triple so 'make check' passes on darwin x86-64
[oota-llvm.git]
/
utils
/
GetSourceVersion
diff --git
a/utils/GetSourceVersion
b/utils/GetSourceVersion
index 5481f3915b4e5f421b1bc67738b803a1fe0f09d3..b57a6aa2f3af6652e71f9ba00050685afd3e4349 100755
(executable)
--- a/
utils/GetSourceVersion
+++ b/
utils/GetSourceVersion
@@
-15,8
+15,8
@@
fi
cd $1
if [ -d .svn ]; then
cd $1
if [ -d .svn ]; then
- svnversion
-elif [ -
d .git/svn
]; then
+ svnversion
| sed -e "s#\([0-9]*\)[A-Z]*#\1#"
+elif [ -
f .git/svn/.metadata
]; then
git svn info | grep 'Revision:' | cut -d: -f2-
elif [ -d .git ]; then
git log -1 --pretty=format:%H
git svn info | grep 'Revision:' | cut -d: -f2-
elif [ -d .git ]; then
git log -1 --pretty=format:%H