This commit is contained in:
Eric Petit 2006-05-31 12:59:56 +00:00
parent e72c5580c6
commit 6e06b16ec1
1 changed files with 4 additions and 3 deletions

View File

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