aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/extended_bin
diff options
context:
space:
mode:
authorLuis Rascão <[email protected]>2017-11-11 02:01:51 +0000
committerGitHub <[email protected]>2017-11-11 02:01:51 +0000
commit1d051663982502620dbdd2b372aee52894981568 (patch)
tree5859cfa77aeca68f30c03ceec8ee31cd2d3e943c /priv/templates/extended_bin
parentfb91587091ad8a9da7c22598e962d0f21dcc17ee (diff)
parent2868d7a7ae79829c740ff9a49e22e2ccf9e6296c (diff)
downloadrelx-1d051663982502620dbdd2b372aee52894981568.tar.gz
relx-1d051663982502620dbdd2b372aee52894981568.tar.bz2
relx-1d051663982502620dbdd2b372aee52894981568.zip
Merge pull request #618 from ferd/otp-20-unicode-support
OTP-20 unicode support and OTP-21 readiness
Diffstat (limited to 'priv/templates/extended_bin')
-rwxr-xr-xpriv/templates/extended_bin2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin
index 19d9d29..baa239c 100755
--- a/priv/templates/extended_bin
+++ b/priv/templates/extended_bin
@@ -151,7 +151,7 @@ relx_get_nodename() {
id="longname$(relx_gen_id)-${NAME}"
"$BINDIR/erl" -boot start_clean \
-boot_var ERTS_LIB_DIR "$ERTS_LIB_DIR" \
- -eval '[H]=tl(string:tokens(atom_to_list(node()),"@")), io:format("~s~n",[H]), halt()' \
+ -eval '[_,H]=re:split(atom_to_list(node()),"@",[unicode,{return,list}]), io:format("~s~n",[H]), halt()' \
-noshell ${NAME_TYPE} $id
}