From 6e06b16ec167042f7e0bd4bc98500f0a9eeeb090 Mon Sep 17 00:00:00 2001 From: Eric Petit Date: Wed, 31 May 2006 12:59:56 +0000 Subject: [PATCH] Grrr --- version.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/version.sh b/version.sh index e02fe8400..b09e7461e 100755 --- a/version.sh +++ b/version.sh @@ -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"