diff --git a/html-gen.sh b/html-gen.sh index 2d1ba6b..ddf08c2 100644 --- a/html-gen.sh +++ b/html-gen.sh @@ -363,6 +363,7 @@ done if [ $modification -gt 0 ]; then temp=`mktemp fugitiveXXXXXX` + chmod a+r "$temp" echo -n "[fugitive] Generating $public_dir/archives.html... " cat "$templates_dir/archives.html" | \ replace_includes | \ @@ -394,7 +395,6 @@ if [ $modification -gt 0 ]; then echo -n "[fugitive] Using last published article as index page... " cp "$public_dir/`head -1 $articles_sorted`.html" "$public_dir/index.html" echo "done". - chmod 644 _public/*.html _public/*.xml echo "[fugitive] Blog update complete." fi rm "$articles_sorted"