From 37a6c8892a71f093f24fceae1697c88029afbffb Mon Sep 17 00:00:00 2001 From: Tim Stewart Date: Sun, 1 Jun 2014 23:38:07 -0400 Subject: Run nodetool using results of find_erts_dir Before this change, extended_bin.dtl assumes the release uses an embedded erts release when calling nodetool, making any nodetool-related functionality incompatible with the following setting: {include_erts, false} This change calls nodetool using the escript binary in the path discovered in the find_erts_dir function. --- priv/templates/extended_bin.dtl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'priv') diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl index bb3e8d7..d4b65d3 100644 --- a/priv/templates/extended_bin.dtl +++ b/priv/templates/extended_bin.dtl @@ -45,7 +45,7 @@ relx_gen_id() { # Control a node relx_nodetool() { command="$1"; shift - "erts-$ERTS_VSN/bin/escript" "$ROOTDIR/bin/nodetool" "$NAME_TYPE" "$NAME" \ + "$ERTS_DIR/bin/escript" "$ROOTDIR/bin/nodetool" "$NAME_TYPE" "$NAME" \ -setcookie "$COOKIE" "$command" } -- cgit v1.2.3