#!/bin/bash set -exo pipefail ROOT=$(pwd) export BUILDDIR="${ROOT}/build" export SRCDIR="${ROOT}/build/srcdir" mkdir -p "${SRCDIR}" cd "${SRCDIR}" apt install --yes git build-essential debhelper libssl-dev autotools-dev git clone --recursive https://github.com/RIPE-NCC/ripe-atlas-software-probe git submodule update dpkg-buildpackage -b -us -uc mv ../ripe-atlas-*.deb "${BUILDDIR}"