From 15e80f4c4e437d760086da3a88d4607b0c0ac300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Tue, 30 Jan 2024 00:50:41 +0100 Subject: [PATCH] Debugging --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 64a9138..31dd594 100755 --- a/qsgen2 +++ b/qsgen2 @@ -339,7 +339,7 @@ function _pages() { # Insert page_content into pages_tpl by replacing the BODY tag present there if (${debug}) echo "_pages: Replacing BODY with page_content in pages_tpl" - final_page=$( echo ${pages_tpl} | sed "s|BODY|${page_content}|g" ) + final_page=$( sed -i "s|BODY|${page_content}|g" ${pages_tpl} ) # Always use lowercase for file names pages_title_lower=$( _file_to_lower "${pages_in_array}" )