diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-09 21:02:50 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-09 21:02:50 +0100 |
| commit | 75f5a8bbf542493547d8e5f6d1f7921d6a854050 (patch) | |
| tree | 4a1cdf47aecbe526feab52247eab2986040b2f8d /http/bin/blog | |
| parent | da1670c57c9d27cc43dc19abb89f061ade9cb5e0 (diff) | |
fixes passing POST_TITLE as an arg to mkws
Diffstat (limited to 'http/bin/blog')
| -rw-r--r--[-rwxr-xr-x] | http/bin/blog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/bin/blog b/http/bin/blog index 357b2bc..46c050a 100755..100644 --- a/http/bin/blog +++ b/http/bin/blog @@ -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 |
