aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bootstrap.cmd8
-rw-r--r--priv/templates/extended_bin.dtl3
2 files changed, 6 insertions, 5 deletions
diff --git a/bootstrap.cmd b/bootstrap.cmd
index 86ffc7f..cff8483 100644
--- a/bootstrap.cmd
+++ b/bootstrap.cmd
@@ -6,7 +6,7 @@
:: Create a shortcut file for running the relx command
@set relx_cmd=relx.cmd
-@echo @echo off > %relx_cmd%
-@echo setlocal >> %relx_cmd%
-@echo set relx=%%~f0 >> %relx_cmd%
-@echo escript ^"%%relx:.cmd=%%^" %%* >> %relx_cmd%
+@echo @echo off> %relx_cmd%
+@echo setlocal>> %relx_cmd%
+@echo set relx=%%~f0>> %relx_cmd%
+@echo escript ^"%%relx:.cmd=%%^" %%*>> %relx_cmd%
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index ccee56f..ec4a8f3 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -9,7 +9,6 @@ REL_VSN="{{ rel_vsn }}"
ERTS_VSN="{{ erts_vsn }}"
REL_DIR="$RELEASE_ROOT_DIR/releases/$REL_VSN"
ERL_OPTS="{{ erl_opts }}"
-PIPE_DIR="${PIPE_DIR:-/tmp/erl_pipes/{{ rel_name }}/}"
RUNNER_LOG_DIR="${RUNNER_LOG_DIR:-$RELEASE_ROOT_DIR/log}"
find_erts_dir() {
@@ -122,6 +121,8 @@ case $NAME in
;;
esac
+PIPE_DIR="${PIPE_DIR:-/tmp/erl_pipes/$NAME/}"
+
# Extract the target cookie
COOKIE_ARG="$(grep '^-setcookie' "$VMARGS_PATH")"
if [ -z "$COOKIE_ARG" ]; then