From e990681b5709e9837bf5776e4cf470b877ef95a2 Mon Sep 17 00:00:00 2001 From: p4bl0 Date: Mon, 5 Mar 2012 17:41:55 +0100 Subject: cleaner fix --- html-gen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3