aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/extended_bin.dtl
diff options
context:
space:
mode:
authorFelix The Hammer Gallo <[email protected]>2014-10-13 17:52:55 +0000
committerFelix The Hammer Gallo <[email protected]>2014-10-13 17:52:55 +0000
commit9193aa29169f117f2e1ba4536a718da2f02c2b63 (patch)
treeb24b1a4783197103af40b5887e9ec2ce59dcf093 /priv/templates/extended_bin.dtl
parent939dab1bc07dbb33f67692c5d648f50c095c3f5d (diff)
downloadrelx-9193aa29169f117f2e1ba4536a718da2f02c2b63.tar.gz
relx-9193aa29169f117f2e1ba4536a718da2f02c2b63.tar.bz2
relx-9193aa29169f117f2e1ba4536a718da2f02c2b63.zip
remove script path from passed arguments list
Diffstat (limited to 'priv/templates/extended_bin.dtl')
-rw-r--r--priv/templates/extended_bin.dtl2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index 06b2ba5..c4d5bbf 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -55,7 +55,7 @@ relx_nodetool() {
# Run an escript in the node's environment
relx_escript() {
- shift; scriptpath="$1"
+ shift; scriptpath="$1"; shift
export RELEASE_ROOT_DIR
"$ERTS_DIR/bin/escript" "$ROOTDIR/$scriptpath" $@