summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/oh-gencontrol6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/oh-gencontrol b/src/oh-gencontrol
index 9636ee0..1c322d5 100644
--- a/src/oh-gencontrol
+++ b/src/oh-gencontrol
@@ -76,11 +76,11 @@ if ${is_src}; then
mkdir "${control_dir}"
- printf 'Package: %s' "${srcpkg}-src" > ${control}
- printf 'Source: %s' "${srcpkg}" >> ${control}
+ printf 'Package: %s\n' "${srcpkg}-src" > ${control}
+ printf 'Source: %s\n' "${srcpkg}" >> ${control}
{ printf 'Version: ' && oh_get_field Version;} >> ${control}
[ ${?} -eq 1 ] && missing_field Version
- printf 'Architecture: all' >> ${control}
+ printf 'Architecture: all\n' >> ${control}
# TODO: Calculate "Installed-Size".
{ printf 'Maintainer: ' && oh_get_field Maintainer;} >> ${control}
[ ${?} -eq 1 ] && missing_field Maintainer