From 89d2415e472b2c339b4fae1881a5e51134a78bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 12 Feb 2024 22:35:24 +0100 Subject: [PATCH] Really try to write to file --- qsgen2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index 1610f5f..1f70872 100755 --- a/qsgen2 +++ b/qsgen2 @@ -920,9 +920,9 @@ function _blog_index() { #_msg debug "_blog_index: Content of blog_index_content" #_msg sub "${blog_index_content}" fi - exec 3>${www_root}/blog/index.html - print -r -- "$blog_index_content" >&3 - exec 3>&- + echo "$blog_index_content" > /tmp/blog_index_temp.html + cp -f /tmp/blog_index_temp.html ${www_root}/blog/index.html + _f_last_updated ${www_root}/blog/index.html fi