(trunk) silence a warning in the new "update-version-h.sh" script

This commit is contained in:
Charles Kerr 2009-05-31 20:31:19 +00:00
parent dfa28975dd
commit 04fb0919eb
1 changed files with 1 additions and 1 deletions

View File

@ -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