sergeycherepanov / homebrew-docker-virtualbox

Docker workaround for Ryzentosh (AMD based Hackintosh)
208 stars 20 forks source link

Add enable custom environment path for brew #18

Closed juanjsebgarcia closed 3 years ago

juanjsebgarcia commented 3 years ago

This is a small fix that allows a custom path to be declared for brew.

It is common to have brew in a non-default location when the system is multi-user, as it keeps packages seperate from other users on the machine.

The code sample checks for an environment variable called BREW_BIN and uses that, falling back to the existing logic if it does not exist.

sergeycherepanov commented 3 years ago

Thanks!