summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2012-12-04 14:24:04 +0100
committerJan Lehnardt <jan@apache.org>2012-12-04 14:24:04 +0100
commit811e49b86a4eaaaf6e2c29e9864fde9913a2be8d (patch)
tree8cd0f1f4e695face0272703b7295d59cf4d13068
parentfb670f5712c08c90b5bd93028c7df39c18fb9656 (diff)
downloadcouchdb-811e49b86a4eaaaf6e2c29e9864fde9913a2be8d.tar.gz
Don't eat custom ERL_LIBS.
Patch by Volker Mische. Closes COUCHDB-1621
-rw-r--r--bin/couchdb.tpl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in
index 3d660e3f7..81bb8b840 100644
--- a/bin/couchdb.tpl.in
+++ b/bin/couchdb.tpl.in
@@ -232,7 +232,7 @@ start_couchdb () {
interactive_option="+Bd -noinput"
fi
command="%ERL% $interactive_option $ERL_START_OPTIONS \
- -env ERL_LIBS %localerlanglibdir% -couch_ini $start_arguments -s couch"
+ -env ERL_LIBS $ERL_LIBS:%localerlanglibdir% -couch_ini $start_arguments -s couch"
if test "$BACKGROUND" = "true" -a "$RECURSED" = "false"; then
$0 $background_start_arguments -b -r $RESPAWN_TIMEOUT -p $PID_FILE \
-o $STDOUT_FILE -e $STDERR_FILE -R &