Don't eat custom ERL_LIBS. Patch by Volker Mische.
Closes COUCHDB-1621 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/811e49b8 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/811e49b8 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/811e49b8 Branch: refs/heads/1597-update-erlang-oauth-1-3-0 Commit: 811e49b86a4eaaaf6e2c29e9864fde9913a2be8d Parents: fb670f5 Author: Jan Lehnardt <[email protected]> Authored: Tue Dec 4 14:24:04 2012 +0100 Committer: Jan Lehnardt <[email protected]> Committed: Tue Dec 4 14:24:04 2012 +0100 ---------------------------------------------------------------------- bin/couchdb.tpl.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/811e49b8/bin/couchdb.tpl.in ---------------------------------------------------------------------- diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in index 3d660e3..81bb8b8 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 &
