Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Updated for older versions of subversion
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 19, 2009
1 parent d95c50b commit 2de6ce5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-scripts/showrev.sh
Expand Up @@ -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.