From fbeed1da7299f8af451595bb989f67a10f7c4ea4 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Tue, 19 Jan 2021 23:02:49 +1300 Subject: [PATCH] Deb: put debs under _ directories --- builder/build-deb-inside-docker | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/builder/build-deb-inside-docker b/builder/build-deb-inside-docker index 4dd7095..aa0651b 100755 --- a/builder/build-deb-inside-docker +++ b/builder/build-deb-inside-docker @@ -4,6 +4,11 @@ set -e cd "$(dirname "$0")/.." +os=$(lsb_release -is | tr '[:upper:]' '[:lower:]') +os_ver=$(lsb_release -rs) +os_dir="builder/build/${os}_${os_ver}" + dpkg-buildpackage -us -uc -b -cp ../*.deb builder/build +mkdir -p "$os_dir" +cp ../*.deb "$os_dir" lintian ../*.deb