mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
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
This commit is contained in:
parent
3e45b77612
commit
6a2e912690
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user