From ca98b0a8a33ea5cf02b9ca329c6ac81ac54fd422 Mon Sep 17 00:00:00 2001 From: ronnnnn Date: Sat, 18 May 2024 14:50:39 +0900 Subject: [PATCH] fix: use unzip --- bin/download | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/download b/bin/download index 4e98266..6653e7c 100755 --- a/bin/download +++ b/bin/download @@ -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"