fix(scripts): bun: install the selected asset

This commit is contained in:
tcely
2026-09-20 16:57:28 -04:00
committed by GitHub
parent 7e894fa3a3
commit e692efe144

View File

@@ -73,7 +73,7 @@ extract_bun() {
install -v -T ./.bun/bun-linux-*/bun "${_staged}" &&
{ # bun spawning unzip hangs for an unknown reason fairly often
local _attempt ; for _attempt in {1..3} ; do
"${_staged}" run "${HERE}/verify_bun.ts" --install-dir "${dest_dir}" --release 'bun-v1.3.14' &&
"${_staged}" run "${HERE}/verify_bun.ts" --release 'bun-v1.3.14' --asset "${fn}" --install-dir "${dest_dir}" &&
break || sleep "${_attempt}"
done ;
[[ -x "${dest_dir}/bun" ]]