summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-17 18:15:57 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-17 18:15:57 (EDT)
commited16df9880ac1a92149242f14562da4282114fed (patch)
tree26459494bb779cae754fa26d8f59194caa998d19
parent8c7cd49a0744af2063cac38eee3fdb9ba833249b (diff)
_OB_LF: Make public
-rw-r--r--lib/changelog.sh6
-rw-r--r--lib/common.sh2
-rw-r--r--lib/control.sh2
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/changelog.sh b/lib/changelog.sh
index 7af9835..c749b15 100644
--- a/lib/changelog.sh
+++ b/lib/changelog.sh
@@ -85,7 +85,7 @@ ob_parse_changelog()
case "${line}" in
'')
if [ x"${expect}" = x'start_changes' ]; then
- changes="${changes}${_OB_LF}${line}"
+ changes="${changes}${OB_LF}${line}"
elif [ x"${expect}" = x'next_or_eof' ]; then
:
elif [ x"${expect}" != x'changes_or_trailer' ]; then
@@ -93,7 +93,7 @@ ob_parse_changelog()
'changelog_found_blank_line' \
"$(_ob_get_changelog_expect_str "${expect}")"
else
- blank_lines="${blank_lines}${_OB_LF}${line}"
+ blank_lines="${blank_lines}${OB_LF}${line}"
fi
;;
[!\ ]*)
@@ -173,7 +173,7 @@ ob_parse_changelog()
'changelog_found_change' \
"$(_ob_get_changelog_expect_str "${expect}")"
fi
- changes="${changes}${_OB_LF}${blank_lines}${line}"
+ changes="${changes}${OB_LF}${blank_lines}${line}"
expect='changes_or_trailer'
blank_lines=''
;;
diff --git a/lib/common.sh b/lib/common.sh
index 67c04b1..0f13d1b 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with opkbuild. If not, see <http://www.gnu.org/licenses/>.
-_OB_LF='
+OB_LF='
'
_ob_abort()
diff --git a/lib/control.sh b/lib/control.sh
index aa641ec..b388705 100644
--- a/lib/control.sh
+++ b/lib/control.sh
@@ -147,7 +147,7 @@ ob_parse_control()
'control_found_continuation'
continue
fi
- value="${value}${_OB_LF}${line# }"
+ value="${value}${OB_LF}${line# }"
;;
esac
done <<-EOF