mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 11:09:55 +00:00
Error 'Command not found' when sname is used
When a node is configured with -sname the REMSH_NAME_PART argument should be defined with using command 'hostname' but error occurs due extra space
This commit is contained in:
parent
755c6023d1
commit
12ca1fb126
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ case "$REMSH_NAME" in
|
||||||
*)
|
*)
|
||||||
REMSH_NAME_PART="$REMSH_NAME"
|
REMSH_NAME_PART="$REMSH_NAME"
|
||||||
if [ "$REMSH_TYPE" = "-sname" ]; then
|
if [ "$REMSH_TYPE" = "-sname" ]; then
|
||||||
REMSH_HOSTNAME_PART= "$HOSTNAME"
|
REMSH_HOSTNAME_PART="$HOSTNAME"
|
||||||
else
|
else
|
||||||
# -name type, check if `hostname` is fqdn
|
# -name type, check if `hostname` is fqdn
|
||||||
if [ "$MAYBE_FQDN_HOSTNAME" = "$HOSTNAME" ]; then
|
if [ "$MAYBE_FQDN_HOSTNAME" = "$HOSTNAME" ]; then
|
||||||
|
|
Loading…
Reference in a new issue