File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,17 @@ jobs:
2727 [ -d "${path}" ] || continue # skip if not a directory
2828 dirname="$(basename "${path}")"
2929 dest="../${dirname}"
30- mkdir -v ${dest}
31- [ ! -d "${path}/data" ] || cp -rv "${path}/data" ${dest}/
32- [ ! -d "${path}/imgs" ] || cp -rv "${path}/imgs" ${dest}/
33- cp -v tutorial.css ${dest}
30+ mkdir ${dest}
31+ [ ! -d "${path}/data" ] || cp -r "${path}/data" ${dest}/
32+ [ ! -d "${path}/imgs" ] || cp -r "${path}/imgs" ${dest}/
33+ cp tutorial.css ${dest}
3434 for fil in $dirname/*.md; do
3535 echo $fil
3636 outfile="${dest}/$(basename "${fil%.md}.html")"
3737 echo $outfile
3838 pandoc --standalone ${fil} --css tutorial.css -o ${outfile}
39- sed -i '' ' s/<figure>/<BR clear=all><figure>/g' ${outfile}
39+ sed -i "" " s/<figure>/<BR clear=all><figure>/g" ${outfile}
4040 done
41+ ls -R ${dest}
4142 done
4243
You can’t perform that action at this time.
0 commit comments