diff options
Diffstat (limited to 'erts/etc/unix/erl.src.src')
-rw-r--r-- | erts/etc/unix/erl.src.src | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/erts/etc/unix/erl.src.src b/erts/etc/unix/erl.src.src index b7438f615b..0983132ac1 100644 --- a/erts/etc/unix/erl.src.src +++ b/erts/etc/unix/erl.src.src @@ -18,9 +18,11 @@ # # %CopyrightEnd% # -if [ -z "$ROOTDIR" ] +if [ -z "$ERL_ROOTDIR" ] then - ROOTDIR="%FINAL_ROOTDIR%" + ROOTDIR="%FINAL_ROOTDIR%" +else + ROOTDIR="$ERL_ROOTDIR" fi BINDIR=$ROOTDIR/erts-%VSN%/bin EMU=%EMULATOR%%EMULATOR_NUMBER% |