meta: prevent asking how to disambiguate a failed build

This commit is contained in:
Connor Olding 2022-10-16 18:28:26 -07:00
parent 97c27ffa16
commit 9c800550d0

View file

@ -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() { : \