diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 01:27:02 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 01:27:02 (EDT) |
commit | a572faa3b46c12f03a11346db78ed42fabcbeef9 (patch) | |
tree | 4effdb5ef946f58ebb626881a7440f0fc3baf9b4 /src | |
parent | 5ed3573cde7ee5ab337f5c9f78bd2ba4ad372628 (diff) |
ob-gencontrol: Replace echo with here-document
Diffstat (limited to 'src')
-rw-r--r-- | src/ob-gencontrol.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index 9b0a241..9541043 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -96,7 +96,10 @@ gen_control() cat >>"${binary}.control/control" <<-EOF Installed-Size: ${inst_size} - Description:$(echo "${desc}" | sed 's/^/ /') + Description:$(sed 's/^/ /' <<-EOD + "${desc}" + EOD + ) EOF homepage="$(ob_get_source_parameter 'Homepage')" |