aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-10-13 13:43:31 -0500
committerTristan Sloughter <[email protected]>2014-10-13 13:43:31 -0500
commit74269dd5480714371b8d108516241137a4172a41 (patch)
treebdcb918d076fdb04630758beb50fee52e7ced43a /priv/templates
parent7c7194f3ef2dea30eb9416115ca7b4ed7eaf4cf3 (diff)
parent9193aa29169f117f2e1ba4536a718da2f02c2b63 (diff)
downloadrelx-74269dd5480714371b8d108516241137a4172a41.tar.gz
relx-74269dd5480714371b8d108516241137a4172a41.tar.bz2
relx-74269dd5480714371b8d108516241137a4172a41.zip
Merge pull request #232 from Cloven/add_escript_command
fix bug in path script
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() {