mirror: 初始快照
This commit is contained in:
commit
fae8c948cd
319 files changed
+5217599
No files matched your search
Executable
+25
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
# Example: ./bin/createhtml.sh NoInflections.txt Ngu-vung-Danh-tu-Thien-hoc.tab
|
||||
# Run in root directory
|
||||
|
||||
# echo $1
|
||||
# echo $2
|
||||
|
||||
BASE="${2%.*}"
|
||||
|
||||
# echo $BASE
|
||||
# echo "./dict/$BASE.opf.patch"
|
||||
|
||||
# cd "/workspaces/tudien/"
|
||||
|
||||
# Generates html and opf files
|
||||
python ./bin/tab2opf.py -s vi -t vi ./dict/$2 -i ./dict/$1
|
||||
|
||||
# Move files to final directory
|
||||
mkdir -p ./dict/$BASE
|
||||
mv -f *.html ./dict/$BASE/
|
||||
mv -f *.opf ./dict/$BASE/
|
||||
|
||||
# Apply patch to fix resultant .opf file
|
||||
#git apply "./dict/$BASE.opf.patch"
|
||||
|
||||
Reference in new issue
Block a user