mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-19 11:58:15 +08:00
10 lines
353 B
Plaintext
10 lines
353 B
Plaintext
|
#!/bin/bash
|
||
|
winlist="tessdll.dll tessdll.lib tesseract.exe dlltest.exe training/cnTraining.exe training/mfTraining.exe training/unicharset_extractor.exe training/wordlist2dawg.exe"
|
||
|
ver=`ls -1rt *[0-9].tar.gz |tail -1`
|
||
|
ver=${ver%.tar.gz}
|
||
|
for l in eng deu fra ita spa nld
|
||
|
do
|
||
|
tar chozf $ver.$l.tar.gz tessdata/$l.*
|
||
|
done
|
||
|
tar chozf $ver.exe.tar.gz $winlist
|