KasmVNC/builder/build-deb-inside-docker
2021-02-14 18:59:53 +13:00

15 lines
262 B
Bash
Executable File

#!/bin/bash
set -e
cd "$(dirname "$0")/.."
os=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
os_codename=$(lsb_release -cs)
os_dir="builder/build/${os_codename}"
dpkg-buildpackage -us -uc -b
mkdir -p "$os_dir"
cp ../*.deb "$os_dir"
lintian ../*.deb || true