aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAli Sabil <[email protected]>2014-01-27 16:38:25 +0100
committerAli Sabil <[email protected]>2014-01-27 16:38:25 +0100
commite1212a0c5e3749a0591bff334e731c822cce4d89 (patch)
treeb6e94485f0c95f6ddf0437551811f0a5805eae62
parent917a135f558245a365115257f2507d675ddc7f1a (diff)
downloadrelx-e1212a0c5e3749a0591bff334e731c822cce4d89.tar.gz
relx-e1212a0c5e3749a0591bff334e731c822cce4d89.tar.bz2
relx-e1212a0c5e3749a0591bff334e731c822cce4d89.zip
set ERL_LIBS when running console | console_clean | console_boot
-rw-r--r--src/rlx_prv_assembler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index cdbcea0..408b6d0 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -961,7 +961,7 @@ case \"$1\" in
# Setup beam-required vars
EMU=beam
PROGNAME=`echo $0 | sed 's/.*\\///'`
- CMD=\"$BINDIR/erlexec -boot $BOOTFILE -mode embedded -config $CONFIG_PATH -args_file $VMARGS_PATH\"
+ CMD=\"$BINDIR/erlexec -boot $BOOTFILE -env ERL_LIBS $REL_DIR/lib -config $CONFIG_PATH -args_file $VMARGS_PATH\"
export EMU
export PROGNAME