build: make podman_build a function (#121)

This commit is contained in:
Unai Martinez-Corral
2023-05-24 16:20:18 +02:00
committed by GitHub
parent 51dcd8bc6b
commit 5f596e34f2
3 changed files with 52 additions and 38 deletions

10
setup.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -e
podman=`which podman || true`
if [ -z "$podman" ]; then
echo "podman needs to be in PATH for this script to work."
exit 1
fi