diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-09-29 19:30:17 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-09-29 19:30:17 +0000 |
commit | 6a2e912690ba15ce9cb91ed02e923beba1521275 (patch) | |
tree | 7e5deefba38b459cf010d9317a2e4e8372a8287f /utils/GetSourceVersion | |
parent | 3e45b77612f4c9815a0af40b631aff98d9a26d23 (diff) |
GetSourceVersion: Strip off svninfo extra markers, which aren't really part of the version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115074 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/GetSourceVersion')
-rwxr-xr-x | utils/GetSourceVersion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/GetSourceVersion b/utils/GetSourceVersion index 5481f3915b4..cbed7daf5b6 100755 --- a/utils/GetSourceVersion +++ b/utils/GetSourceVersion @@ -15,7 +15,7 @@ fi cd $1 if [ -d .svn ]; then - svnversion + svnversion | sed -e "s#\([0-9]*\)[A-Z]*#\1#" elif [ -d .git/svn ]; then git svn info | grep 'Revision:' | cut -d: -f2- elif [ -d .git ]; then |