diff options
-rw-r--r-- | priv/templates/simplenode.erl.script | 2 | ||||
-rwxr-xr-x | priv/templates/simplenode.runner | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/simplenode.erl.script b/priv/templates/simplenode.erl.script index d97c514..e500626 100644 --- a/priv/templates/simplenode.erl.script +++ b/priv/templates/simplenode.erl.script @@ -24,7 +24,7 @@ APP_VSN=${START_ERL#* } BINDIR=$ROOTDIR/erts-$ERTS_VSN/bin EMU=beam -PROGNAME=`echo $0 | sed 's/.*\///'` +PROGNAME=`echo $0 | sed 's/.*\\///'` CMD="$BINDIR/erlexec" export EMU export ROOTDIR diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner index 08fa4af..70f4584 100755 --- a/priv/templates/simplenode.runner +++ b/priv/templates/simplenode.runner @@ -103,7 +103,7 @@ case "$1" in ROOTDIR=$RUNNER_BASE_DIR BINDIR=$ROOTDIR/erts-$ERTS_VSN/bin EMU=beam - PROGNAME=`echo $0 | sed 's/.*\///'` + PROGNAME=`echo $0 | sed 's/.*\\///'` CMD="$BINDIR/erlexec -boot $RUNNER_BASE_DIR/releases/$APP_VSN/$SCRIPT -embedded -config $RUNNER_ETC_DIR/app.config -args_file $RUNNER_ETC_DIR/vm.args -- ${1+"$@"}" export EMU export ROOTDIR |