summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-gencontrol.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh
index f5e777a..b0180e2 100644
--- a/src/ob-gencontrol.sh
+++ b/src/ob-gencontrol.sh
@@ -123,7 +123,8 @@ gen_control()
value="$(ob_substvars "${value}")"
;;
esac
- printf '%s: %s\n' "${name}" "${value}" \
+ printf '%s: %s\n' "${name}" "${value}" | \
+ sed 's/[, ]*$//' \
>>"${binary}.control/control"
fi
done