Fix the Debian packaging script on systems with no codename
authorMarcin Mielniczuk <marmistrz.dev@gmail.com>
Tue, 12 Jul 2016 19:42:35 +0000 (21:42 +0200)
committerMichal Marek <mmarek@suse.com>
Tue, 26 Jul 2016 21:12:08 +0000 (23:12 +0200)
commit4c586062b275dcddc18f521ac092cf0f600a36de
tree4c3ea0fe09a2622ead4911a934d99abbbe314705
parentca617dc68b23407c4b7427d4f2fd71e0ba7ba81d
Fix the Debian packaging script on systems with no codename

When calling `make deb-pkg` on a system with no codename (for example
Arch Linux), lsb_release sometimes outputs `n/a` as the codename.

This breaks dpkg-parsechangelog, which can't process the changelog
correctly.

Signed-off-by: Marcin Mielniczuk <marmistrz.dev@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/package/builddeb