diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2010-01-26 15:11:22 -0700 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2010-01-26 15:11:22 -0700 |
commit | 7cf7481a68374775bb460878041b97870ab35c37 (patch) | |
tree | fdc8e77826d0264346455243b74efb3a49044ea8 | |
parent | 1582f2e243135ef4ee4bc6e571c67efca25f8f51 (diff) | |
download | rebar-7cf7481a68374775bb460878041b97870ab35c37.tar.gz |
Fixing issue #3; make sure to properly escape simplenode related files. Patch provided by cstar..thanks!
-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 |