mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 07:04:45 +00:00
Merge pull request #4 from getcompanion-ai/fix/daemon-install-runtime
fix(installer): avoid unbound asset variable in release download
This commit is contained in:
commit
01958298e0
1 changed files with 0 additions and 2 deletions
|
|
@ -437,13 +437,11 @@ install_from_release() {
|
|||
local tag="$1"
|
||||
detect_platform
|
||||
local workdir
|
||||
local asset
|
||||
local url
|
||||
local archive
|
||||
local downloaded=0
|
||||
|
||||
workdir="$(mktemp -d)"
|
||||
archive="$workdir/$asset"
|
||||
while IFS= read -r asset; do
|
||||
url="https://github.com/${REPO}/releases/download/${tag}/${asset}"
|
||||
archive="$workdir/$asset"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue