aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/extended_bin.dtl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-11-16 09:25:54 -0600
committerTristan Sloughter <[email protected]>2014-11-16 09:26:08 -0600
commit678c3d1e6081a47791d0add510f00de9a11b2e12 (patch)
treeb4c7cd3d8b590818994470dd7e0c2d5632e3a539 /priv/templates/extended_bin.dtl
parent3f93086c57664015b921221647c0f2b56519fd7c (diff)
downloadrelx-678c3d1e6081a47791d0add510f00de9a11b2e12.tar.gz
relx-678c3d1e6081a47791d0add510f00de9a11b2e12.tar.bz2
relx-678c3d1e6081a47791d0add510f00de9a11b2e12.zip
fix match on node name type
Diffstat (limited to 'priv/templates/extended_bin.dtl')
-rw-r--r--priv/templates/extended_bin.dtl4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/extended_bin.dtl b/priv/templates/extended_bin.dtl
index 6bf151a..fa77a4a 100644
--- a/priv/templates/extended_bin.dtl
+++ b/priv/templates/extended_bin.dtl
@@ -118,10 +118,10 @@ case $NAME in
*)
# Add @hostname
case $NAME_TYPE in
- sname)
+ -sname)
NAME=$NAME@`hostname -s`
;;
- name)
+ -name)
NAME=$NAME@`hostname -f`
;;
esac