Skip to content

Conversation

@i3d
Copy link

@i3d i3d commented Apr 30, 2021

This would work always for various different installation configurations. It even works for Homebrew for other platforms like linuxbrew.

@13-CF
Copy link
Owner

13-CF commented May 17, 2021

Is changing the install to ~/.local a good idea? I don't think ~/.local/bin is in $PATH by default on lots of systems.

@kdx2a
Copy link
Contributor

kdx2a commented May 17, 2021

Is changing the install to ~/.local a good idea? I don't think ~/.local/bin is in $PATH by default on lots of systems.

It's a bad idea. If you want to overwrite the install path with something less standard than /usr/local, call make with a specified PREFIX:

$ make install PREFIX="$HOME"/.local
$ make uninstall PREFIX="$HOME"/.local

@Jan200101
Copy link
Contributor

I suggest not printing an error message when the Cellar ENV var is not found and simply falling back to the original behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants