Skip to content

Commit

Permalink
fix: use unzip
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnnnn committed May 18, 2024
1 parent c7a238d commit ca98b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME-$ASDF_INSTALL_VERSION.jar"
download_release "$ASDF_INSTALL_VERSION" "$release_file"

# Extract contents of jar file into the download directory
tar -xzf "$release_file" -C "$ASDF_DOWNLOAD_PATH" || fail "Could not extract $release_file"
unzip "$release_file" -d "$ASDF_DOWNLOAD_PATH" || fail "Could not extract $release_file"

# Remove the jar file since we don't need to keep it
rm "$release_file"

0 comments on commit ca98b0a

Please sign in to comment.