fix(scripts): bun: install the selected asset
This commit is contained in:
@@ -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" ]]
|
||||
|
||||
Reference in New Issue
Block a user