mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
$*!'%`^$!
This commit is contained in:
parent
6e06b16ec1
commit
0d682e2f83
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ REVMAX=0
|
||||||
for pattern in '*.[chm]' '*.cpp' '*.po' '*.mk' 'Makefile' 'configure'; do
|
for pattern in '*.[chm]' '*.cpp' '*.po' '*.mk' 'Makefile' 'configure'; do
|
||||||
for f in `find . -name "$pattern"`; do
|
for f in `find . -name "$pattern"`; do
|
||||||
REV=`sed -e '/\$Id:/!d' -e \
|
REV=`sed -e '/\$Id:/!d' -e \
|
||||||
's/.*\$Id$f`
|
's/.*\$Id: [^ ]* \([0-9]*\) .*/\1/' \
|
||||||
|
$f`
|
||||||
if [ -n "$REV" ]; then
|
if [ -n "$REV" ]; then
|
||||||
if [ "$REV" -gt "$REVMAX" ]; then
|
if [ "$REV" -gt "$REVMAX" ]; then
|
||||||
REVMAX="$REV"
|
REVMAX="$REV"
|
||||||
|
|
Loading…
Reference in a new issue