fixes passing POST_TITLE to postprocessor from blog script

This commit is contained in:
2026-06-09 21:03:16 +01:00
parent 75f5a8bbf5
commit 37d61b5b21
+1 -1
View File
@@ -86,7 +86,7 @@ do
if [ $use_filenames_for_titles -eq 1 ]
then
title="$name"
cat "$entry" | POST_TITLE="$title" eval "$postprocess_cmd" > "$dest"
cat "$entry" | eval "POST_TITLE=\"${title}\" ${postprocess_cmd}" > "$dest"
else
title="$(grep --regexp "^\# " --max-count 1 "$entry" | cut -c3-)"
export POST_TITLE="$title"