tesseract/makemoredists

11 lines
457 B
Plaintext
Raw Normal View History

#!/bin/bash
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"
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