aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/bin.dtl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-05-22 12:29:36 -0500
committerTristan Sloughter <[email protected]>2014-05-22 12:29:36 -0500
commitb7c8c04ec261afc01b99e71db174d945f93632de (patch)
treecb4cede99ffe4f7492c8b04ca4f7bb215a317468 /priv/templates/bin.dtl
parent6a50af3feb7186d86365aafeafadb3822973e343 (diff)
downloadrelx-b7c8c04ec261afc01b99e71db174d945f93632de.tar.gz
relx-b7c8c04ec261afc01b99e71db174d945f93632de.tar.bz2
relx-b7c8c04ec261afc01b99e71db174d945f93632de.zip
remove quoting that breaks start scripts
Diffstat (limited to 'priv/templates/bin.dtl')
-rwxr-xr-xpriv/templates/bin.dtl4
1 files changed, 2 insertions, 2 deletions
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 $@