From de8ad4a80221f567866b97662d83756b406ff66f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 12:39:55 -0400 Subject: ob-gencontrol: Replace here-document with printf Commit a572faa3 replaced echo with this here-document, which takes an unnecessary amount of vertical space. --- diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index 9b62937..d825bc8 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -114,10 +114,7 @@ gen_control() cat >>"${binary}.control/control" <<-EOF Installed-Size: ${inst_size} - Description:$(sed 's/^/ /' <<-EOD - ${desc} - EOD - ) + Description:$(printf '%s' "${desc}" | sed 's/^/ /') EOF homepage="$(ob_get_source_parameter 'Homepage')" -- cgit v0.9.1