1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00
This commit is contained in:
Eric Petit 2006-05-31 12:59:56 +00:00
parent e72c5580c6
commit 6e06b16ec1

View file

@ -4,9 +4,10 @@
# Get current SVN revision from Ids in all source files # Get current SVN revision from Ids in all source files
REVMAX=0 REVMAX=0
for pattern in '*.[chm]' '*.cpp' '*.po' '*.mk'; do for pattern in '*.[chm]' '*.cpp' '*.po' '*.mk' 'Makefile' 'configure'; do
for f in `find . -name "$pattern"` Makefile configure; do for f in `find . -name "$pattern"`; do
REV=`sed -e '/\$Id:/!d; s/.*\$Id$f` REV=`sed -e '/\$Id:/!d' -e \
's/.*\$Id$f`
if [ -n "$REV" ]; then if [ -n "$REV" ]; then
if [ "$REV" -gt "$REVMAX" ]; then if [ "$REV" -gt "$REVMAX" ]; then
REVMAX="$REV" REVMAX="$REV"