diff options
author | Luis Rascão <[email protected]> | 2019-02-11 13:55:07 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-02-11 13:55:07 +0000 |
commit | b7a8b7f26355ee42588dc39ed00780e368ffa741 (patch) | |
tree | 7750dc9821c18ad04f1403c2d72f4cf6f72d640a /priv/templates/extended_bin | |
parent | 651b85192f2013d2b76c34f202435aca8c529a99 (diff) | |
parent | 3e94923d4a5d683faf84094f60e746e024df4ae3 (diff) | |
download | relx-b7a8b7f26355ee42588dc39ed00780e368ffa741.tar.gz relx-b7a8b7f26355ee42588dc39ed00780e368ffa741.tar.bz2 relx-b7a8b7f26355ee42588dc39ed00780e368ffa741.zip |
Merge pull request #685 from tolbrino/tb-win32-extended-scripts
Add extension command support for Windows
Diffstat (limited to 'priv/templates/extended_bin')
-rwxr-xr-x | priv/templates/extended_bin | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin index e5de981..c1b6fff 100755 --- a/priv/templates/extended_bin +++ b/priv/templates/extended_bin @@ -190,7 +190,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" $@ @@ -598,6 +598,7 @@ case "$1" in escript) ## Run an escript under the node's environment + shift if ! relx_escript $@; then exit 1 fi |