aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornuex <[email protected]>2014-03-08 19:33:05 -0500
committernuex <[email protected]>2014-03-08 19:33:05 -0500
commitfdf63ccb750c1c3a6de9a55cdec17980c0559e39 (patch)
tree55020a4fa9bd83caf77b8618d6503ce7d372d74e
parentcf7186ba8584f5276638fa09e0ff3c50d4d80f2f (diff)
downloadrelx-fdf63ccb750c1c3a6de9a55cdec17980c0559e39.tar.gz
relx-fdf63ccb750c1c3a6de9a55cdec17980c0559e39.tar.bz2
relx-fdf63ccb750c1c3a6de9a55cdec17980c0559e39.zip
honor existing LD_LIBRARY_PATH in script templates
-rw-r--r--priv/templates/bin.dtl2
-rw-r--r--priv/templates/extended_bin.dtl2
2 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/bin.dtl b/priv/templates/bin.dtl
index 1af2554..067e9f7 100644
--- a/priv/templates/bin.dtl
+++ b/priv/templates/bin.dtl
@@ -37,7 +37,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
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index 16b8708..a0e46a9 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -88,7 +88,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