Skip to content

Commit

Permalink
fix install command
Browse files Browse the repository at this point in the history
  • Loading branch information
Azuki-bar committed May 29, 2023
1 parent c3568ec commit 4e2e16f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ download_release "$ASDF_INSTALL_VERSION" "$release_file"

# Extract contents of gz file into the download directory
temp_dir=$(mktemp -d)
gzip -d -c "$release_file" > "$temp_dir/archive"
mv "$temp_dir/archive" "$ASDF_DOWNLOAD_PATH"
gzip -d -c "$release_file" > "$temp_dir/rye"
ls $temp_dir/rye
install -m 0755 "$temp_dir/rye" "$ASDF_DOWNLOAD_PATH"
rm -r "$temp_dir"

# Remove the tar.gz file since we don't need to keep it
Expand Down

0 comments on commit 4e2e16f

Please sign in to comment.