Without the . I get a usage error with svnversion. Here's a patch
to fix:
Index: print_version.sh
===================================================================
--- print_version.sh (revision 802624)
+++ print_version.sh (working copy)
@@ -27,7 +27,7 @@
VERSION=`sed -ne 's/^AC_INIT(\[thrift\], \[\(.*\)\])$/\1/p' configure.ac`
if test -d .svn ; then
- REVISION="r`svnversion`"
+ REVISION="r`svnversion .`"
elif test -d .git ; then
SHA1=`git rev-list --max-count=1 --grep='^git-svn-id:' HEAD`
REVISION=`git cat-file commit $SHA1 | sed -ne
's/^git-svn-id:[...@]*@\([0-9][0-9]*\).*/r\1/p'`