fixes passing POST_TITLE to postprocessor from blog script
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user