Skip to content

Commit

Permalink
remove quoting that breaks start scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed May 22, 2014
1 parent 6a50af3 commit b7c8c04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions priv/templates/bin.dtl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -59,4 +59,4 @@ set -- "$ERL_OPTS"
set -- "$@" -boot "$REL_DIR/$REL_NAME" "$ARGS"

# Boot the release
"$BINDIR/erlexec" "$@"
$BINDIR/erlexec $@
2 changes: 1 addition & 1 deletion priv/templates/extended_bin.dtl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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
Expand Down

0 comments on commit b7c8c04

Please sign in to comment.