diff options
author | Roger Lipscombe <[email protected]> | 2014-03-21 14:57:05 +0000 |
---|---|---|
committer | Roger Lipscombe <[email protected]> | 2014-03-21 14:57:05 +0000 |
commit | b8a4664f70ddac6f7f886fe10be7f57fc6f06418 (patch) | |
tree | f93c3cb6fcb8734dbbf95669781d7b5c9a76e86a | |
parent | 9e17ff5d35fbad8b4c66754c31a5397090c01ae0 (diff) | |
download | relx-b8a4664f70ddac6f7f886fe10be7f57fc6f06418.tar.gz relx-b8a4664f70ddac6f7f886fe10be7f57fc6f06418.tar.bz2 relx-b8a4664f70ddac6f7f886fe10be7f57fc6f06418.zip |
Allow overriding RUNNER_LOG_DIR
-rw-r--r-- | priv/templates/extended_bin.dtl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl index a0e46a9..23ba9c4 100644 --- a/priv/templates/extended_bin.dtl +++ b/priv/templates/extended_bin.dtl @@ -10,6 +10,7 @@ ERTS_VSN={{ erts_vsn }} REL_DIR=$RELEASE_ROOT_DIR/releases/$REL_VSN ERL_OPTS={{ erl_opts }} PIPE_DIR=/tmp/erl_pipes/{{ rel_name }}/ +RUNNER_LOG_DIR=${RUNNER_LOG_DIR:-$RELEASE_ROOT_DIR/log} find_erts_dir() { local erts_dir=$RELEASE_ROOT_DIR/erts-$ERTS_VSN @@ -45,7 +46,6 @@ else fi fi -RUNNER_LOG_DIR=$RELEASE_ROOT_DIR/log # Make sure log directory exists mkdir -p $RUNNER_LOG_DIR |