From d2ff1c8448970a51ca184b900b30cc6b0bb6c3b4 Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 23 Feb 2022 19:20:15 +0000 Subject: rescribe: fix typo with embedded getgbook running --- cmd/rescribe/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/rescribe/main.go b/cmd/rescribe/main.go index 65ecd60..ec37f05 100644 --- a/cmd/rescribe/main.go +++ b/cmd/rescribe/main.go @@ -208,11 +208,11 @@ These training files are included in rescribe, and are always available: var gbookCommand string switch runtime.GOOS { case "darwin": - tessCommand = filepath.Join(tessdir, "getgbook") + gbookCommand = filepath.Join(tessdir, "getgbook") case "linux": gbookCommand = filepath.Join(tessdir, "getgbook") case "windows": - tessCommand = filepath.Join(tessdir, "getgbook.exe") + gbookCommand = filepath.Join(tessdir, "getgbook.exe") } tessdatadir := filepath.Join(tessdir, "tessdata") -- cgit v1.2.1-24-ge1ad