diff --git a/absurdism b/absurdism index 6b8ffc0..a681356 100755 --- a/absurdism +++ b/absurdism @@ -1,8 +1,13 @@ #!/usr/bin/env sh : \ + && [ "$(id -u)" -eq 0 ] \ && [ -s build-all ] \ && { [ ! -d out ] || mkdir out || exit ;} \ + && chmod -R 0755 . \ + && chown -R 0:1000 . \ + && chmod -R 0775 out \ && podman run -v="$(readlink -f .)":/stargazing -e=TERM=$TERM -it --rm \ --security-opt label=disable --user podman quay.io/podman/stable \ /stargazing/build-all \ + || echo something died \ ;