[erlang-questions] Joe's book, ~/.erlang and Makefiles
Mon May 11 00:35:18 CEST 2009
How about creating a user-defined boot script that doesn't call c:erlangrc?
- copy /usr/local/lib/erlang/bin/start.script to a local file - call it
- edit it to remove the erlangrc line (it is right at the bottom)
- run erl and type systools:script2boot("mystart") then exit. This
creates mystart.boot in the current folder
- start erl with erl -boot mystart
You can use erl -init_debug to confirm that it isn't calling c:erlangrc
I don't know how portable the idea is, particularly between different
erlang versions, but you could perhaps provide your own boot script with
Andrew Thompson wrote:
> On Sun, May 10, 2009 at 12:01:38PM +0200, mats cronqvist wrote:
>> Apologies for being rather unhelpful, but what are you trying to
>> accomplish here? Disable the evaluation of .erlang? Wouldn't it be
>> easier to just do "rm ~/.erlang"?
> That'd be fine if this was running on my machine, but I don't want to
> blindly remove other people's ~/.erlang just because they wanted to
> compile some of my software.
> erlang-questions mailing list
Savage Minds Ltd
More information about the erlang-questions