Fixed the issues with new directory structure

pinebook
Silverwizard 5 years ago
parent ab0e0ed3d0
commit 286bc373d1
  1. 4
      tohtml.sh

@ -1,4 +1,4 @@
for char in `ls $1`
for char in `find $1 -maxdepth 1 -type f`
do
markdown $1/$char > $1/`echo $char |sed 's/.md$/.html/'`
markdown $char > `echo $char |sed 's/.md$/.html/'`
done

Loading…
Cancel
Save