sed: -e expression #1, char 40: unterminated s command

This commit is contained in:
Stig-Ørjan Smelror 2024-01-29 23:53:15 +01:00
parent 03f8ff1c80
commit 06f478a9a2

2
qsgen2
View File

@ -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"
pages_tpl=$( echo ${pages_tpl} | sed -e "s|BODY|${page_content}|g" > /dev/null )
pages_tpl=$( echo ${pages_tpl} | sed -e 's|BODY|${page_content}|g' > /dev/null )
# Run a cleanup if in case something was left out
_cleanup ${pages_tpl}