diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-09 21:03:16 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-09 21:03:16 +0100 |
| commit | 37d61b5b215318c3686b89e7d7b4f329aac3899e (patch) | |
| tree | 0ed07bfcfd35f75b8f3977643d26fcec71125301 /http/bin | |
| parent | 75f5a8bbf542493547d8e5f6d1f7921d6a854050 (diff) | |
fixes passing POST_TITLE to postprocessor from blog script
Diffstat (limited to 'http/bin')
| -rw-r--r-- | http/bin/blog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/bin/blog b/http/bin/blog index 46c050a..5fdd12c 100644 --- a/http/bin/blog +++ b/http/bin/blog @@ -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" |
