build-pdf: add special language cases
This commit is contained in:

committed by
K.B.Dharun Krishna

parent
2397113710
commit
e215cdbc18
@@ -32,11 +32,18 @@ function main {
|
||||
fi
|
||||
else
|
||||
case $languageId in
|
||||
"all")
|
||||
all)
|
||||
pageDirs=(../../pages*)
|
||||
;;
|
||||
bn | ja | ko | ml | ta | th | zh | zh_TW)
|
||||
echo "${languageId} is not supported to build a PDF"
|
||||
;;
|
||||
en)
|
||||
pageDirs=("pages")
|
||||
;;
|
||||
*)
|
||||
pageDirs=("pages.${languageId}")
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user