fix resume
This commit is contained in:
parent
138475bca1
commit
b79d8a074c
1 changed files with 2 additions and 2 deletions
|
@ -40,11 +40,11 @@ pike run_many_games.pike -f ${PRG_2} -s ${PRG_1} -o ${GAME_DIR} -n ${NB_GAMES_PE
|
|||
echo " ================"
|
||||
} > ${GAME_DIR}/resume.txt
|
||||
|
||||
STR_WIN1=$(printf "%s\n" ${PRG_1} win)
|
||||
STR_WIN1=$(printf "%s win" ${PRG_1})
|
||||
NB_WIN1=$(grep -c "${STR_WIN1}" ${GAME_DIR}/scores.txt)
|
||||
echo " ${PRG_1} is ${NB_WIN1}" >> ${GAME_DIR}/resume.txt
|
||||
|
||||
STR_WIN2=$(printf "%s\n" ${PRG_2} win)
|
||||
STR_WIN2=$(printf "%s win" ${PRG_2})
|
||||
NB_WIN2=$(grep -c "${STR_WIN2}" ${GAME_DIR}/scores.txt)
|
||||
{
|
||||
echo " ${PRG_2} is ${NB_WIN2}"
|
||||
|
|
Reference in a new issue