build-scripts/showrev.sh
author Couriersud <couriersud@arcor.de>
Tue, 13 Jan 2009 23:27:08 +0000
changeset 3039 829043b363d1
parent 2982 b64c1d23039b
child 3047 4c092987234b
permissions -rwxr-xr-x
Fix fullscreen crash with DirectFB <= 1.2.0

#!/bin/sh
#
# Print the current source revision, if available

srcdir=`dirname $0`/..

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