aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/extended_bin
diff options
context:
space:
mode:
authorJan Uhlig <[email protected]>2017-10-06 12:35:40 +0200
committerGitHub <[email protected]>2017-10-06 12:35:40 +0200
commite85edb20ee6badf512b7b311da401e8fa6b618f8 (patch)
tree755ecda60330bea6fc6c6162371c8b5f205e8b1e /priv/templates/extended_bin
parentdfa6c7ab45304080038145433a42a69233ac1dcb (diff)
downloadrelx-e85edb20ee6badf512b7b311da401e8fa6b618f8.tar.gz
relx-e85edb20ee6badf512b7b311da401e8fa6b618f8.tar.bz2
relx-e85edb20ee6badf512b7b311da401e8fa6b618f8.zip
fixed indentation
Diffstat (limited to 'priv/templates/extended_bin')
-rwxr-xr-xpriv/templates/extended_bin20
1 files changed, 10 insertions, 10 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin
index 3d876f0..ac9f0a5 100755
--- a/priv/templates/extended_bin
+++ b/priv/templates/extended_bin
@@ -296,19 +296,19 @@ ERTS_LIB_DIR="$(dirname "$ERTS_DIR")/lib"
VMARGS_PATH=$(add_path vm.args $VMARGS_PATH)
# Extract the target node name from vm.args or referenced args_files
NAME_ARG=$(awk 'function find_name(file) {
- while ((getline line<file)>0) {
- if (line~/^-args_file +/) {
- gsub(/^-args_file +/, "", line)
- find_name(line)
- }
- else if (line~/^-s?name +/) {
- print line
- exit
- }
+ while ((getline line<file)>0) {
+ if (line~/^-args_file +/) {
+ gsub(/^-args_file +/, "", line)
+ find_name(line)
}
+ else if (line~/^-s?name +/) {
+ print line
+ exit
+ }
+ }
}
{
- find_name(FILENAME)
+ find_name(FILENAME)
}' "$VMARGS_PATH")
# Perform replacement of variables in ${NAME_ARG}
NAME_ARG=$(eval echo "${NAME_ARG}")