mxcl/homebrew — pull request #16146 by dirker (2012-11-19 19:44:37+00:00)
Title: 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}.