No need to change the representation of result.

This commit is contained in:
vonavi 2014-10-26 23:06:35 +03:00
parent b1a3e8452c
commit 1745eb0342

View File

@ -34,10 +34,6 @@ function parse_tour_info {
local white=${BASH_REMATCH[2]} local white=${BASH_REMATCH[2]}
local black=${BASH_REMATCH[3]} local black=${BASH_REMATCH[3]}
local result=${BASH_REMATCH[5]} local result=${BASH_REMATCH[5]}
# Change the representation of result
[[ $result == 1/2 ]] && result=1/2-1/2
local round=$(echo "($tour - 1)/($ply_count - 1) + 1" | bc) local round=$(echo "($tour - 1)/($ply_count - 1) + 1" | bc)
parse_to_ini parse_to_ini
((game_counter += 1)) ((game_counter += 1))