Fix: read the last line of tour_info.
This commit is contained in:
parent
f97b14c14b
commit
eebcd38bad
2
schedule
2
schedule
@ -33,7 +33,7 @@ for tour in $@; do
|
|||||||
url=https://raw.github.com/$repo/master/$tournament/tour_$tour/tour_info
|
url=https://raw.github.com/$repo/master/$tournament/tour_$tour/tour_info
|
||||||
|
|
||||||
echo ">>>"
|
echo ">>>"
|
||||||
curl -q --silent $url | while read line; do
|
curl -q --silent -w '\n' $url | while read line; do
|
||||||
if [[ -z $line ]]; then
|
if [[ -z $line ]]; then
|
||||||
echo
|
echo
|
||||||
elif [[ -z $name || $(egrep "Тур|=|Время|$name" <<< "$line") ]]; then
|
elif [[ -z $name || $(egrep "Тур|=|Время|$name" <<< "$line") ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user