fixes passing POST_TITLE as an arg to mkws

This commit is contained in:
2026-06-09 21:02:50 +01:00
parent da1670c57c
commit 75f5a8bbf5
4 changed files with 20 additions and 10 deletions
Executable → Regular
+1 -1
View File
@@ -92,6 +92,6 @@ do
export POST_TITLE="$title"
cat "$entry" | grep --regexp "^\# " --invert-match | eval "$postprocess_cmd" > "$dest"
fi
echo "${title}" > "${dest}.args"
echo "POST_TITLE=\"$(echo "${title}" | sed "s/\\\"/\\\\\"/g")\"" > "${dest}.args"
echo "Processed ${entry#$(dirname ${BLOGS})/} to ${dest#$(dirname ${SRC})/}"
done