=== modified file 'render_files' --- render_files 2017-11-07 00:33:45 +0000 +++ render_files 2017-11-07 00:19:55 +0000 @@ -13,9 +13,9 @@ printf "%s\n" '' '' && pygmentize-2 -g -f html raw/"$1" && printf "%s\n" '' - } > head/.tmp.html && - touch -r raw/"$1" head/.tmp.html && \ - mv head/.tmp.html head/"$1".html + } > head/.new."$1".html && + touch -r raw/"$1" head/.new."$1".html && \ + mv head/.new."$1".html head/"$1".html else mv head.old/"$1".html head/"$1".html fi @@ -33,4 +33,3 @@ (text/*) render "$FILE";; esac done