Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Trying different tar extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanratcliffe committed Sep 28, 2024
1 parent 95ecd34 commit 3dcf8b9
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 @@ -34,7 +34,7 @@ download_path="$ASDF_DOWNLOAD_PATH/$release_file"
download_release "$ASDF_INSTALL_VERSION" "$release_file" "$download_path"

# Extract contents of tar.gz file into the download directory
tar -xzf "$download_path" -C "$ASDF_DOWNLOAD_PATH" --strip-components=1 || fail "Could not extract $download_path"
tar -xzf "$download_path" -C "$ASDF_DOWNLOAD_PATH" || fail "Could not extract $download_path"

# Remove the tar.gz file since we don't need to keep it
rm "$download_path"

0 comments on commit 3dcf8b9

Please sign in to comment.