mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
Grrr
This commit is contained in:
parent
e72c5580c6
commit
6e06b16ec1
1 changed files with 4 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue