#!/usr/bin/env sh yes_retrieve() { local a="$1" shift || return podman run -v="play":/out --rm --entrypoint /bin/busybox "$a" cp -- "$@" "/out/" } dbg_retrieve() { : \ && yes_retrieve "$1" "$2" \ && yes_retrieve "$1" "$2.dbg" \ ; } : \ && cd "$(readlink -f "$0")" \ \ && [ -d out ] || mkdir out \ \ && podman build -t notwa-util notwa-util \ && podman build -t cosmo cosmo \ && podman build -t cosmo-kuroko cosmo-kuroko \ \ && dbg_retrieve cosmo-kuroko /bin/kuroko.com \ ;