summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-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")