mirror of
https://github.com/transmission/transmission
synced 2024-12-22 15:54:57 +00:00
(trunk) silence a warning in the new "update-version-h.sh" script
This commit is contained in:
parent
dfa28975dd
commit
04fb0919eb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue