fix: tempalte folder has to be ignored
This commit is contained in:
parent
9e0b434430
commit
ac61189be4
1 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,11 @@ function build_pdf() {
|
||||||
cd "$folder_html"
|
cd "$folder_html"
|
||||||
|
|
||||||
for file in **/*.html; do
|
for file in **/*.html; do
|
||||||
|
# skip teh template folder
|
||||||
|
if [[ $file == *"_Templates"* ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
# only deal with files
|
# only deal with files
|
||||||
if [ -f "$file" ]; then
|
if [ -f "$file" ]; then
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue