aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpriv/templates/extended_bin1
1 files changed, 1 insertions, 0 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin
index 6742cf7..1b619d4 100755
--- a/priv/templates/extended_bin
+++ b/priv/templates/extended_bin
@@ -150,6 +150,7 @@ relx_get_pid() {
relx_get_nodename() {
id="longname$(relx_gen_id)-${NAME}"
"$BINDIR/erl" -boot start_clean \
+ -boot_var ERTS_LIB_DIR "$ERTS_LIB_DIR" \
-eval '[H]=tl(string:tokens(atom_to_list(node()),"@")), io:format("~s~n",[H]), halt()' \
-noshell ${NAME_TYPE} $id
}