summaryrefslogtreecommitdiffstats
path: root/src/oh-gencontrol
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-21 13:01:46 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-21 13:01:46 (EST)
commit3aa6feb0dd18a99d692ad4e0408dc0efe535916d (patch)
treea4013df3798c657d2873c4a2b5d755fe659a8b36 /src/oh-gencontrol
parentcf126b51e92283d2178b66db415491e5203e7129 (diff)
Fix line breaks in '*-src' package control file.
Diffstat (limited to 'src/oh-gencontrol')
-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