Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Updated for older versions of subversion

  • Loading branch information
slouken committed Jan 19, 2009
1 parent d95c50b commit 2de6ce5d71c932f9ed8403edc3536a3226e6018d
Showing with 3 additions and 1 deletion.
  1. +3 −1 build-scripts/showrev.sh
@@ -6,5 +6,7 @@ srcdir=`dirname $0`/..

if [ -d $srcdir/.svn ]; then
cd $srcdir
svnversion -c | sed -e 's,[0-9]*:\([0-9]*\)[A-Z]*,\1,'
(svnversion -c 2>/dev/null || svnversion .) | \
sed -e 's,\([0-9]*\)[A-Z]*,\1,' \
-e 's,[0-9]*:\([0-9]*\)[A-Z]*,\1,'
fi

0 comments on commit 2de6ce5

Please sign in to comment.