From 340bbe828e104a35e03f84f7009cda363ebbbc4c Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 02 Aug 2012 09:58:18 -0400 Subject: Don't separate expect string into fields. --- 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} -- cgit v0.9.1