diff options
author | Jordan Wilberding <[email protected]> | 2014-05-24 10:22:03 +0200 |
---|---|---|
committer | Jordan Wilberding <[email protected]> | 2014-05-24 10:22:03 +0200 |
commit | 23d3d777a4fe67b661a7be0fa5a8ef3e30a48ef1 (patch) | |
tree | 06c4e638dd36d8a47984017bfb8045324d97c1e7 /priv/templates/extended_bin.dtl | |
parent | 69daf475a9219b0c400a686d17590143ecd037ae (diff) | |
parent | 2751586ac8748d6443b9e544d6932952fef08cab (diff) | |
download | relx-23d3d777a4fe67b661a7be0fa5a8ef3e30a48ef1.tar.gz relx-23d3d777a4fe67b661a7be0fa5a8ef3e30a48ef1.tar.bz2 relx-23d3d777a4fe67b661a7be0fa5a8ef3e30a48ef1.zip |
Merge pull request #190 from tsloughter/start_scripts
remove quoting that breaks start scripts
Diffstat (limited to 'priv/templates/extended_bin.dtl')
-rw-r--r-- | priv/templates/extended_bin.dtl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl index 99014fd..bb3e8d7 100644 --- a/priv/templates/extended_bin.dtl +++ b/priv/templates/extended_bin.dtl @@ -19,7 +19,8 @@ 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)" + code="io:format(\"~s\", [code:root_dir()])." + local erl_root="$("$erl" -noshell -eval "$code" -s init stop)" ERTS_DIR="$erl_root/erts-$ERTS_VSN" ROOTDIR="$erl_root" fi |