Erl script change

Mickael Remond mickael.remond@REDACTED
Sun Aug 18 19:13:00 CEST 2002


Hello,

I found helpfull to make a little modification in the erl start script.

I added after the line:
ROOTDIR=/usr/local/erlang
the following test:
if [ -n "$ERLDIR"]
then
    ROOTDIR=$ERLDIR
fi

This way in can package the erts/bin directory with my application and run erlang and the application directly from the install dir by setting the environment var ERLDIR.

Maybe there are other way to do that but otherwise this little change could be integrated in the next release.

Cheers,

-- 
Mickaël Rémond



More information about the erlang-questions mailing list