aboutsummaryrefslogtreecommitdiffstats
path: root/priv
diff options
context:
space:
mode:
Diffstat (limited to 'priv')
-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 bca90f3..06b2ba5 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"
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() {