summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorp4bl0 <r@uzy.me>2012-03-05 17:41:55 +0100
committerp4bl0 <r@uzy.me>2012-03-05 17:41:55 +0100
commite990681b5709e9837bf5776e4cf470b877ef95a2 (patch)
treef0d85c05d74368e91c64b2db7a64abf8ae24e5aa
parenta5d97dc6245831ac6bf4d81ba9c889ec371288b2 (diff)
cleaner fix
-rw-r--r--html-gen.sh2
1 files changed, 1 insertions, 1 deletions
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"