diff options
author | paul <[email protected]> | 2015-11-06 22:55:09 +0800 |
---|---|---|
committer | paul <[email protected]> | 2015-11-06 22:55:09 +0800 |
commit | cf3172953540beed80f24acd64bf91c86e4a3430 (patch) | |
tree | 5fb580c90adb22daae7de6ade086359735730835 /priv/templates/extended_bin | |
parent | 9ec6e72acc6d22d227b18dd7cb9cdbe97435791f (diff) | |
download | relx-cf3172953540beed80f24acd64bf91c86e4a3430.tar.gz relx-cf3172953540beed80f24acd64bf91c86e4a3430.tar.bz2 relx-cf3172953540beed80f24acd64bf91c86e4a3430.zip |
fix upgrade/install/unpack command bug
bug description:
if vm.arg use '-sname xxx' option, When exec upgrade/install/unpack command, it will report "Hostname yyy is illegal" error.
Diffstat (limited to 'priv/templates/extended_bin')
-rwxr-xr-x | priv/templates/extended_bin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin index 7c9f159..0046502 100755 --- a/priv/templates/extended_bin +++ b/priv/templates/extended_bin @@ -297,7 +297,7 @@ case "$1" in fi exec "$BINDIR/escript" "$ROOTDIR/bin/install_upgrade.escript" \ - "install" "$REL_NAME" "$NAME" "$COOKIE" "$2" + "install" "$REL_NAME" "$NAME_TYPE" "$NAME" "$COOKIE" "$2" ;; unpack) @@ -315,7 +315,7 @@ case "$1" in fi exec "$BINDIR/escript" "$ROOTDIR/bin/install_upgrade.escript" \ - "unpack" "$REL_NAME" "$NAME" "$COOKIE" "$2" + "unpack" "$REL_NAME" "$NAME_TYPE" "$NAME" "$COOKIE" "$2" ;; console|console_clean|console_boot) |