mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-28 05:39:35 +08:00
fa30c0965f
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@154 d0cd1f9f-072b-0410-8dd7-cf729c803f20
11 lines
423 B
Bash
Executable File
11 lines
423 B
Bash
Executable File
#!/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 por deu-f vie kan
|
|
do
|
|
chmod 644 tessdata/$l.*
|
|
tar --group root --owner root -chozf $ver.$l.tar.gz tessdata/$l.*
|
|
done
|
|
tar chozf $ver.exe.tar.gz $winlist
|