diff --git a/update-version-h.sh b/update-version-h.sh index 339d04949..978a43dcb 100755 --- a/update-version-h.sh +++ b/update-version-h.sh @@ -5,7 +5,7 @@ peer_id_prefix=`grep m4_define configure.ac | sed "s/[][)(]/,/g" | grep peer_id_ if [ -d .svn ]; then svn_revision=`svnversion | sed -r 's/([0-9]+).*/\1/' ` else - svn_revision=`grep -oh '\$Id: [^ ]\+ [0-9]\+' */*\.cc */*\.cpp */*\.[chm] | cut -d ' ' -f 3 | sort | tail -n 1 -` + svn_revision=`grep -oh '\$Id: [^ ]\+ [0-9]\+' */*\.cc */*\.[chm] | cut -d ' ' -f 3 | sort | tail -n 1 -` fi cat > libtransmission/version.h << EOF