Skip to content

Commit

Permalink
remove temporary directory ls
Browse files Browse the repository at this point in the history
  • Loading branch information
ptisserand committed Jan 29, 2024
1 parent 458b40e commit c7dc6b7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,6 @@ list_all_versions() {
list_github_tags
}

download_release() {
local version filename url
version="$1"
filename="$2"

# TODO: Adapt the release URL convention for starkli
url="$GH_REPO/archive/v${version}.tar.gz"

echo "* Downloading $TOOL_NAME release $version..."
curl "${curl_opts[@]}" -o "$filename" -C - "$url" || fail "Could not download $url"
}

download_release() {
local version filename url
Expand Down Expand Up @@ -82,7 +71,6 @@ install_version() {

# TODO: Assert starkli executable exists.
local tool_cmd
ls "$install_path" > /tmp/foo.lst
tool_cmd="$(echo "$TOOL_TEST" | cut -d' ' -f1)"
test -x "$install_path/$tool_cmd" || fail "Expected $install_path/$tool_cmd to be executable."

Expand Down

0 comments on commit c7dc6b7

Please sign in to comment.