summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/GetSourceVersion2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/GetSourceVersion b/utils/GetSourceVersion
index 5481f3915b..cbed7daf5b 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