From 52aa98a276666976930c0e73f5e2be794762e821 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 14 May 2019 17:10:02 +0100 Subject: fix typo --- fullocrdir.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fullocrdir.sh') diff --git a/fullocrdir.sh b/fullocrdir.sh index c7b162e..ce58ff0 100755 --- a/fullocrdir.sh +++ b/fullocrdir.sh @@ -16,8 +16,8 @@ test $# -ne 1 && echo "$usage" && exit 1 prereqs="pgconf preprocmulti tesseract" for i in $prereqs; do if ! command -v $i > /dev/null ; then - echo "Error: no $i tool found" - exit 1 + echo "Error: no $i tool found" + exit 1 fi done @@ -69,6 +69,6 @@ find "$1" -maxdepth 1 -type f -name '*.jpg' | while read f; do done test -z "$bestfn" && continue - hocrfn=`echo "$bestfn" | sed 's/.conf$/.hocr'` + hocrfn=`echo "$bestfn" | sed 's/.conf$/.hocr/'` cp "$hocrfn" "$1/best/" || exit 1 done -- cgit v1.2.1-24-ge1ad