aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates')
-rw-r--r--priv/templates/extended_bin.dtl4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index 745691f..235df1d 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -55,10 +55,10 @@ relx_nodetool() {
# Run an escript in the node's environment
relx_escript() {
- command="$1"; shift
+ shift; scriptpath="$1"; shift
export RELEASE_ROOT_DIR
- "$ERTS_DIR/bin/escript" "$ROOTDIR/$command" $@
+ "$ERTS_DIR/bin/escript" "$ROOTDIR/$scriptpath" $@
}
# Output a start command for the last argument of run_erl
relx_start_command() {