mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-02 13:23:13 +00:00
fix(scripts): make build_test_image bundle cleanup robust
This commit is contained in:
parent
acaede4b81
commit
40cddbea42
@ -139,7 +139,7 @@ build_test_image::restore_from_bundle() {
|
||||
echo "==> Restoring binaries/circuits from ${TAR_PATH}"
|
||||
local tmp_extract
|
||||
tmp_extract="$(common::tmpdir nomos-bundle-extract.XXXXXX)"
|
||||
trap 'rm -rf "${tmp_extract}"' RETURN
|
||||
trap "rm -rf -- '${tmp_extract}'" RETURN
|
||||
|
||||
tar -xzf "${TAR_PATH}" -C "${tmp_extract}"
|
||||
local artifacts="${tmp_extract}/artifacts"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user