aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2014-03-08 10:59:49 +0100
committerJordan Wilberding <[email protected]>2014-03-08 10:59:49 +0100
commiteeeef1ef2648fa9815f0f61acbfe9576b2884890 (patch)
tree641f59dad1ace656d5bef8c9c430435bd6599b5d
parente76af92d661dc85915abdc8486414ff5bf94d3d2 (diff)
parentb348e2faa5aaca9b9ae1165a319133364c6015b3 (diff)
downloadrelx-eeeef1ef2648fa9815f0f61acbfe9576b2884890.tar.gz
relx-eeeef1ef2648fa9815f0f61acbfe9576b2884890.tar.bz2
relx-eeeef1ef2648fa9815f0f61acbfe9576b2884890.zip
Merge pull request #135 from hirschenberger/master
Start scripts should honor existing LD_LIBRARY_PATH settings
-rw-r--r--src/rlx_prv_assembler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl
index d3ab2f6..33be3e0 100644
--- a/src/rlx_prv_assembler.erl
+++ b/src/rlx_prv_assembler.erl
@@ -701,7 +701,7 @@ export ROOTDIR=$RELEASE_ROOT_DIR
export BINDIR=$ERTS_DIR/bin
export EMU=beam
export PROGNAME=erl
-export LD_LIBRARY_PATH=$ERTS_DIR/lib
+export LD_LIBRARY_PATH=$ERTS_DIR/lib:$LD_LIBRARY_PATH
cd $ROOTDIR
@@ -798,7 +798,7 @@ export ROOTDIR=$RELEASE_ROOT_DIR
export BINDIR=$ERTS_DIR/bin
export EMU=beam
export PROGNAME=erl
-export LD_LIBRARY_PATH=$ERTS_DIR/lib
+export LD_LIBRARY_PATH=$ERTS_DIR/lib:$LD_LIBRARY_PATH
cd $ROOTDIR