summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-02 09:58:18 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-02 09:58:18 (EDT)
commit340bbe828e104a35e03f84f7009cda363ebbbc4c (patch)
tree65bb2f2144c3f58a96bed657dd871f252ab9f737 /lib
parentd1f4be727509e1da66167c90af6c9b2a2250c691 (diff)
Don't separate expect string into fields.
Diffstat (limited to 'lib')
-rw-r--r--lib/changelog.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/changelog.sh b/lib/changelog.sh
index 4888e09..4b15dc9 100644
--- a/lib/changelog.sh
+++ b/lib/changelog.sh
@@ -71,7 +71,7 @@ ${_line}"
elif [ "${_expect}" != changes_or_trailer ]; then
_changelog_parse_error "${_line_nr}" \
"${oh_str_changelog_found_blank_line}" \
- $(_changelog_get_expect_str "${_expect}")
+ "$(_changelog_get_expect_str "${_expect}")"
else
_blank_lines="${_blank_lines}
${_line}"
@@ -81,7 +81,7 @@ ${_line}"
"${_expect}" != next_or_eof ]; then
_changelog_parse_error "${_line_nr}" \
"${oh_str_changelog_found_heading}" \
- $(_changelog_get_expect_str "${_expect}")
+ "$(_changelog_get_expect_str "${_expect}")"
fi
_source="${_line%% (*}"
_line_="${_line#* (}"
@@ -121,7 +121,7 @@ ${_line}"
if [ "${_expect}" != changes_or_trailer ]; then
_changelog_parse_error "${_line_nr}" \
"${oh_str_changelog_found_trailer}" \
- $(_changelog_get_expect_str "${_expect}")
+ "$(_changelog_get_expect_str "${_expect}")"
fi
_line="${_line# -- }"
_maintainer="${_line%% *}"
@@ -149,7 +149,7 @@ ${_line}"
"${_expect}" != changes_or_trailer ]; then
_changelog_parse_error "${_line_nr}" \
"${oh_str_changelog_found_change}" \
- $(_changelog_get_expect_str "${_expect}")
+ "$(_changelog_get_expect_str "${_expect}")"
fi
OH_CHANGELOG_CHANGES="${OH_CHANGELOG_CHANGES}
${_blank_lines}${_line}"
@@ -165,7 +165,7 @@ ${_blank_lines}${_line}"
if [ "${_expect}" != next_or_eof ]; then
_changelog_parse_error "${_line_nr}" \
"${oh_str_changelog_found_eof}" \
- $(_changelog_get_expect_str "${_expect}")
+ "$(_changelog_get_expect_str "${_expect}")"
fi
return ${_entries}