aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix The Hammer Gallo <[email protected]>2014-10-13 17:37:34 +0000
committerFelix The Hammer Gallo <[email protected]>2014-10-13 17:37:34 +0000
commit939dab1bc07dbb33f67692c5d648f50c095c3f5d (patch)
tree0133e8ffbdb8c5974cfcede59b17965fd825a2b1
parente1b066ee48feba20f515403316df180c32b9adb7 (diff)
downloadrelx-939dab1bc07dbb33f67692c5d648f50c095c3f5d.tar.gz
relx-939dab1bc07dbb33f67692c5d648f50c095c3f5d.tar.bz2
relx-939dab1bc07dbb33f67692c5d648f50c095c3f5d.zip
fix bug in path script
-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() {