aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/bin
diff options
context:
space:
mode:
authorJared Morrow <[email protected]>2015-06-23 10:26:42 -0600
committerJared Morrow <[email protected]>2015-06-23 10:26:42 -0600
commitacb38431b1076e3443deaf32952748a3a5489e8a (patch)
tree11ecf2c63e8b624edc20f9b04616d93ac18cbabd /priv/templates/bin
parentcf5ed973dbfadd5edcc1d7d9e7ddcfcc202769df (diff)
downloadrelx-acb38431b1076e3443deaf32952748a3a5489e8a.tar.gz
relx-acb38431b1076e3443deaf32952748a3a5489e8a.tar.bz2
relx-acb38431b1076e3443deaf32952748a3a5489e8a.zip
Adjust local variable naming per review comments
Diffstat (limited to 'priv/templates/bin')
-rwxr-xr-xpriv/templates/bin26
1 files changed, 13 insertions, 13 deletions
diff --git a/priv/templates/bin b/priv/templates/bin
index 625f90b..8e3f497 100755
--- a/priv/templates/bin
+++ b/priv/templates/bin
@@ -11,30 +11,30 @@ REL_DIR="$RELEASE_ROOT_DIR/releases/$REL_VSN"
ERL_OPTS="{{ erl_opts }}"
find_erts_dir() {
- l_erts_dir="$RELEASE_ROOT_DIR/erts-$ERTS_VSN"
- if [ -d "$l_erts_dir" ]; then
- ERTS_DIR="$l_erts_dir";
+ __erts_dir="$RELEASE_ROOT_DIR/erts-$ERTS_VSN"
+ if [ -d "$__erts_dir" ]; then
+ ERTS_DIR="$__erts_dir";
ROOTDIR="$RELEASE_ROOT_DIR"
else
- l_erl="$(which erl)"
+ __erl="$(which erl)"
code="io:format(\"~s\", [code:root_dir()]), halt()."
- l_erl_root="$("$l_erl" -noshell -eval "$code")"
- ERTS_DIR="$l_erl_root/erts-$ERTS_VSN"
- ROOTDIR="$l_erl_root"
+ __erl_root="$("$__erl" -noshell -eval "$code")"
+ ERTS_DIR="$__erl_root/erts-$ERTS_VSN"
+ ROOTDIR="$__erl_root"
fi
}
find_sys_config() {
- l_possible_sys="$REL_DIR/sys.config"
- if [ -f "$l_possible_sys" ]; then
- SYS_CONFIG="$l_possible_sys"
+ __possible_sys="$REL_DIR/sys.config"
+ if [ -f "$__possible_sys" ]; then
+ SYS_CONFIG="$__possible_sys"
fi
}
find_vm_args() {
- l_possible_vm_args="$REL_DIR/vm.args"
- if [ -f "$l_possible_vm_args" ]; then
- VM_ARGS="$l_possible_vm_args"
+ __possible_vm_args="$REL_DIR/vm.args"
+ if [ -f "$__possible_vm_args" ]; then
+ VM_ARGS="$__possible_vm_args"
fi
}