summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/changelog.sh4
-rw-r--r--lib/control.sh4
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/changelog.sh b/lib/changelog.sh
index db69cfd..2f1515f 100644
--- a/lib/changelog.sh
+++ b/lib/changelog.sh
@@ -152,7 +152,9 @@ ${_obpch_blank_lines}${_obpch_line}"
'changelog_bad_line'
_obpch_blank_lines=
fi
- done <"${_obpch_file}"
+ done <<-EOF
+ $(cat "${_obpch_file}")
+ EOF
if [ "${_obpch_expect}" != 'next_or_eof' ]; then
_ob_parse_changelog_error "${_obpch_file}" "${_obpch_line_nr}" \
diff --git a/lib/control.sh b/lib/control.sh
index d480c22..4c38583 100644
--- a/lib/control.sh
+++ b/lib/control.sh
@@ -115,7 +115,9 @@ ob_parse_control()
_obpco_value="${_obpco_value}
${_obpco_line# }"
fi
- done <"${_obpco_file}"
+ done <<-EOF
+ $(cat "${_obpco_file}")
+ EOF
if [ -n "${_obpco_name}" ]; then
OB_CONTROL_NAME="${_obpco_name}"