summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick 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)
commita572faa3b46c12f03a11346db78ed42fabcbeef9 (patch)
tree4effdb5ef946f58ebb626881a7440f0fc3baf9b4
parent5ed3573cde7ee5ab337f5c9f78bd2ba4ad372628 (diff)
ob-gencontrol: Replace echo with here-document
-rw-r--r--src/ob-gencontrol.sh5
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')"