aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_assembler.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-01-27 07:39:15 -0800
committerTristan Sloughter <[email protected]>2014-01-27 07:39:15 -0800
commit182b00e2d6099386a1a8586c0b93ea0371c67848 (patch)
treeb6e94485f0c95f6ddf0437551811f0a5805eae62 /src/rlx_prv_assembler.erl
parent917a135f558245a365115257f2507d675ddc7f1a (diff)
parente1212a0c5e3749a0591bff334e731c822cce4d89 (diff)
downloadrelx-182b00e2d6099386a1a8586c0b93ea0371c67848.tar.gz
relx-182b00e2d6099386a1a8586c0b93ea0371c67848.tar.bz2
relx-182b00e2d6099386a1a8586c0b93ea0371c67848.zip
Merge pull request #116 from soundrop/fix/console-path
export ERL_LIBS before running console|console_clean|console_boot
Diffstat (limited to 'src/rlx_prv_assembler.erl')
-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