brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

AbstractFileDownloadStrategy#buffered_write

gunzip and bunzip2 write the output file in the same directory as the input
file regardless of the current working directory, so we need to write it to
the correct location ourselves.

Source | Google | Stack overflow

Edit

git clone [email protected]:homebrew/brew.git

cd brew

open Library/Homebrew/download_strategy.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-AbstractFileDownloadStrategy-buffered_write-for-pr


# Commit to git

git add Library/Homebrew/download_strategy.rbgit commit -m "better docs for AbstractFileDownloadStrategy#buffered_write"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-AbstractFileDownloadStrategy-buffered_write-for-pr

hub pull-request


# Celebrate!