2007-07-18 09:04:56 +08:00
|
|
|
#!/bin/bash
|
2009-06-30 10:08:25 +08:00
|
|
|
winlist="tessdll.dll tessdll.lib tesseract.exe dlltest.exe training/cnTraining.exe training/mfTraining.exe training/unicharset_extractor.exe training/wordlist2dawg.exe java/ScrollView.jar"
|
2007-07-18 09:04:56 +08:00
|
|
|
ver=`ls -1rt *[0-9].tar.gz |tail -1`
|
|
|
|
ver=${ver%.tar.gz}
|
2009-06-30 09:49:43 +08:00
|
|
|
for l in eng deu fra ita spa nld por deu-f vie kan eus
|
2007-07-18 09:04:56 +08:00
|
|
|
do
|
2008-04-22 08:44:56 +08:00
|
|
|
chmod 644 tessdata/$l.*
|
|
|
|
tar --group root --owner root -chozf $ver.$l.tar.gz tessdata/$l.*
|
2007-07-18 09:04:56 +08:00
|
|
|
done
|
|
|
|
tar chozf $ver.exe.tar.gz $winlist
|