1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00

(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

View file

@ -5,7 +5,7 @@ peer_id_prefix=`grep m4_define configure.ac | sed "s/[][)(]/,/g" | grep peer_id_
if [ -d .svn ]; then if [ -d .svn ]; then
svn_revision=`svnversion | sed -r 's/([0-9]+).*/\1/' ` svn_revision=`svnversion | sed -r 's/([0-9]+).*/\1/' `
else 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 fi
cat > libtransmission/version.h << EOF cat > libtransmission/version.h << EOF