meta: prevent asking how to disambiguate a failed build
This commit is contained in:
parent
97c27ffa16
commit
9c800550d0
1 changed files with 2 additions and 2 deletions
|
@ -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() { : \
|
||||
|
|
Loading…
Reference in a new issue