summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-gencontrol.sh5
1 files changed, 1 insertions, 4 deletions
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')"