forked from Computer_Society/open-goverance
fmt: format using shfmt
This commit is contained in:
parent
d4869448fb
commit
e6969ab164
2 changed files with 92 additions and 95 deletions
|
@ -15,7 +15,7 @@ rm -f .md.toml
|
||||||
|
|
||||||
# if the user only wants teh html tehn early return
|
# if the user only wants teh html tehn early return
|
||||||
if [[ $1 == "html" ]]; then
|
if [[ $1 == "html" ]]; then
|
||||||
exit 0;
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# recursively parse _Handovers_html use wkhtmltopdf to convert to pdf
|
# recursively parse _Handovers_html use wkhtmltopdf to convert to pdf
|
||||||
|
|
|
@ -58,7 +58,6 @@ function build_html(){
|
||||||
cd $root
|
cd $root
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function build_pdf() {
|
function build_pdf() {
|
||||||
# used to match **
|
# used to match **
|
||||||
shopt -s globstar
|
shopt -s globstar
|
||||||
|
@ -94,9 +93,7 @@ function build_pdf(){
|
||||||
cd $root
|
cd $root
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [[ $1 == "html" ]]; then
|
||||||
if [[ $1 == "html" ]];
|
|
||||||
then
|
|
||||||
build_html
|
build_html
|
||||||
else
|
else
|
||||||
build_html
|
build_html
|
||||||
|
|
Loading…
Reference in a new issue