This repository has been archived by the owner. It is now read-only.

erlang: consider `brew --prefix` as root dir #16146

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Contributor

dirker commented Nov 19, 2012

By default, erlang check's it's #{prefix} for installed applications,
however 3rd-party applications typically install to brew --prefix
instead.

This commit fixes this by crudely overwriting ROOTDIR in
lib/erlang/bin/{erl,start}.

@dirker dirker erlang: consider `brew --prefix` as root dir
By default, erlang check's it's #{prefix} for installed applications,
however 3rd-party applications typically install to `brew --prefix`
instead.

This commit fixes this by crudely overwriting ROOTDIR in
lib/erlang/bin/{erl,start}.
6e02968
Contributor

dirker commented Dec 17, 2012

bump

Contributor

adamv commented Jan 21, 2013

I don't know enough to know if this is considered a good idea or not.

Contributor

dirker commented Jan 23, 2013

I have written an email to the erlang-questions list to get more information: https://groups.google.com/forum/?fromgroups=#!topic/erlang-programming/rFExtQpVuiQ

Contributor

yourabi commented Jan 25, 2013

It seems like the consensus from that thread would be against this change... do you still think it is the best course of action?

Contributor

adamv commented Jan 26, 2013

Passing on this.

@adamv adamv closed this Jan 26, 2013

Contributor

dirker commented Jan 26, 2013

I still think the issue persists in homebrew and will likely hit other erlang users/developers sooner or later, but since my solution certainly is not brilliant and what they recommend in the thread is working for me, passing on this is the right thing to do.

Thanks.

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016

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