mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-01 18:00:30 +00:00
checkapk: exit on trap signal
otherwise it cleans up but the loop keeps going and just fails until end, just spamming the output
This commit is contained in:
parent
617df473b0
commit
cc17a1cc79
@ -47,7 +47,7 @@ fi
|
|||||||
|
|
||||||
startdir="$PWD"
|
startdir="$PWD"
|
||||||
tmpdir=$(mktemp -d -t checkpkg-script.XXXXXX)
|
tmpdir=$(mktemp -d -t checkpkg-script.XXXXXX)
|
||||||
trap "rm -rf '$tmpdir'" INT EXIT
|
trap "rm -rf '$tmpdir'; exit" INT EXIT
|
||||||
cd "$tmpdir" || die "failed to create temp dir"
|
cd "$tmpdir" || die "failed to create temp dir"
|
||||||
|
|
||||||
# storage for downloaded/copied apks
|
# storage for downloaded/copied apks
|
||||||
|
Loading…
Reference in New Issue
Block a user