Skip to content

Commit

Permalink
update download
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Brocker committed Jul 19, 2023
1 parent ed6119b commit 08b769a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source "${plugin_dir}/lib/utils.bash"
mkdir -p "$ASDF_DOWNLOAD_PATH"

# TODO: Adapt this to proper extension and adapt extracting strategy.
release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME-$ASDF_INSTALL_VERSION"
release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME"

# Download tar.gz file to the download directory
download_release "$ASDF_INSTALL_VERSION" "$release_file"
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ install_version() {

(
mkdir -p "$install_path"
cp "$ASDF_DOWNLOAD_PATH/$TOOL_NAME-${version}" "$install_path/$TOOL_NAME"
cp "$ASDF_DOWNLOAD_PATH/$TOOL_NAME" "$install_path/$TOOL_NAME"
chmod +x "$install_path/$TOOL_NAME"

# TODO: Figure out how to test as no arguements can be passed
Expand Down

0 comments on commit 08b769a

Please sign in to comment.