diff options
author | nuex <[email protected]> | 2014-02-22 04:20:40 -0500 |
---|---|---|
committer | nuex <[email protected]> | 2014-03-08 19:30:57 -0500 |
commit | 4ef840816d7df2a47a7955d3fd339720ace0a2b8 (patch) | |
tree | 959cb36bace246fa6cb9b329a1efd2cb692dabd3 /priv/templates/bin.dtl | |
parent | dbede76ca6c76dd6be1cf22bacee1fe345631909 (diff) | |
download | relx-4ef840816d7df2a47a7955d3fd339720ace0a2b8.tar.gz relx-4ef840816d7df2a47a7955d3fd339720ace0a2b8.tar.bz2 relx-4ef840816d7df2a47a7955d3fd339720ace0a2b8.zip |
unescape quotes
Diffstat (limited to 'priv/templates/bin.dtl')
-rw-r--r-- | priv/templates/bin.dtl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/priv/templates/bin.dtl b/priv/templates/bin.dtl index 9e0dfb6..1af2554 100644 --- a/priv/templates/bin.dtl +++ b/priv/templates/bin.dtl @@ -12,12 +12,12 @@ ERL_OPTS={{ erl_opts }} find_erts_dir() { local erts_dir=$RELEASE_ROOT_DIR/erts-$ERTS_VSN - if [ -d \"$erts_dir\" ]; then + if [ -d "$erts_dir" ]; then ERTS_DIR=$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 @@ -26,8 +26,8 @@ find_erts_dir() { find_sys_config() { local possible_sys=$REL_DIR/sys.config - if [ -f \"$possible_sys\" ]; then - SYS_CONFIG=\"-config $possible_sys\" + if [ -f "$possible_sys" ]; then + SYS_CONFIG="-config $possible_sys" fi } |