summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
Diffstat (limited to 'http')
-rw-r--r--http/bin/blog2
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"