From 9c800550d0c1e074069f286b1a249133d95b89b0 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sun, 16 Oct 2022 18:28:26 -0700 Subject: [PATCH] meta: prevent asking how to disambiguate a failed build --- build-all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-all b/build-all index beeccf4..8164635 100755 --- a/build-all +++ b/build-all @@ -13,7 +13,7 @@ yes_retrieve() { : \ ;do announce retrieving "$f" \ && g="out/${f##*/}" && { ! [ -e "$g" ] || mv "$g" "$g~" ;} || return \ ;done \ - && podman run -v="$out":/out --rm --entrypoint /bin/busybox "$image" \ + && podman run -v="$out":/out --rm --entrypoint /bin/busybox "localhost/$image" \ cp -- "$@" "/out/" \ && for f in "$@" \ ;do if g="out/${f##*/}" && [ -e "$g" ] \ @@ -34,7 +34,7 @@ dbg_retrieve() { : \ build() { : \ && local t="${1?missing argument}" && shift \ && announce building "$t" \ - && podman build -t "$t" "$t" "$@" \ + && podman build -t "$t" "./$t" "$@" \ ;} build_simple() { : \