From 93f7899a9e9afa5411eca6b4ec4831d0b49236f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= Date: Sun, 14 Sep 2014 15:10:25 +0200 Subject: [PATCH] fix tesstrain.sh/issue 1311. Patch from Mark Zealey https://groups.google.com/forum/#!msg/tesseract-dev/uYTr1D656-M/xLXgjKy9fywJ --- training/tesstrain.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/training/tesstrain.sh b/training/tesstrain.sh index 22a35e8d..eb3d562f 100755 --- a/training/tesstrain.sh +++ b/training/tesstrain.sh @@ -173,7 +173,8 @@ parse_flags() { local ofs=$IFS IFS='+' FONTS=( ${ARGV[$j]} ) - IFS=$ofs ;; + IFS=$ofs + i=$j ;; --fonts_dir) parse_value "FONTS_DIR" ${ARGV[$j]} i=$j ;;