summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-02-23 19:20:15 +0000
committerNick White <git@njw.name>2022-02-23 19:20:15 +0000
commitd2ff1c8448970a51ca184b900b30cc6b0bb6c3b4 (patch)
treec34e75979494444b7c20002b56965d16dce01383
parent69d072c61b4d27ff6747e5a87c37ee33b6476143 (diff)
rescribe: fix typo with embedded getgbook running
-rw-r--r--cmd/rescribe/main.go4
1 files 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")