1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

$*!'%`^$!

This commit is contained in:
Eric Petit 2006-05-31 13:03:19 +00:00
parent 6e06b16ec1
commit 0d682e2f83

View file

@ -7,7 +7,8 @@ REVMAX=0
for pattern in '*.[chm]' '*.cpp' '*.po' '*.mk' 'Makefile' 'configure'; do
for f in `find . -name "$pattern"`; do
REV=`sed -e '/\$Id:/!d' -e \
's/.*\$Id$f`
's/.*\$Id: [^ ]* \([0-9]*\) .*/\1/' \
$f`
if [ -n "$REV" ]; then
if [ "$REV" -gt "$REVMAX" ]; then
REVMAX="$REV"