From a572faa3b46c12f03a11346db78ed42fabcbeef9 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Mar 2019 01:27:02 -0400 Subject: ob-gencontrol: Replace echo with here-document --- (limited to 'src') 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')" -- cgit v0.9.1