From b7c8c04ec261afc01b99e71db174d945f93632de Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Thu, 22 May 2014 12:29:36 -0500 Subject: remove quoting that breaks start scripts --- priv/templates/bin.dtl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'priv/templates/bin.dtl') diff --git a/priv/templates/bin.dtl b/priv/templates/bin.dtl index 4434552..de44fe1 100755 --- a/priv/templates/bin.dtl +++ b/priv/templates/bin.dtl @@ -17,7 +17,7 @@ find_erts_dir() { ROOTDIR="$RELEASE_ROOT_DIR" else local erl="$(which erl)" - local erl_root="$("$erl" -noshell -eval "io:format(\\"~s\\", [code:root_dir()])." -s init stop)" + local erl_root=$("$erl" -noshell -eval "io:format(\"~s\", [code:root_dir()])." -s init stop) ERTS_DIR="$erl_root/erts-$ERTS_VSN" ROOTDIR="$erl_root" fi @@ -59,4 +59,4 @@ set -- "$ERL_OPTS" set -- "$@" -boot "$REL_DIR/$REL_NAME" "$ARGS" # Boot the release -"$BINDIR/erlexec" "$@" +$BINDIR/erlexec $@ -- cgit v1.2.3