blob: c5ec58f67a1c81b47307b8d86012caf841f0f36e [file] [log] [blame]
#!/bin/sh
# Wrapper to prevent failure if svnversion isn't available
V=`svnversion ${PWD}/.. 2>/dev/null`
if [ $? -gt 0 -o -z "$V" ]
then
V='0'
fi
echo $V | sed s/[^0-9].*$//
exit 0