diff options
author | Luis Rascão <[email protected]> | 2017-09-12 13:22:03 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-09-12 13:22:03 +0100 |
commit | 36e0ad410310031cab1bf83d864017f05b45b9cc (patch) | |
tree | 8fde99038143e00e3d84e627f01a63803346864d /priv/templates/bin_windows | |
parent | 430b1d7f5ab75a849d70c82a98614f701a4912c6 (diff) | |
parent | 25196f4b994df5364eb060bff8418a0154622ed4 (diff) | |
download | relx-36e0ad410310031cab1bf83d864017f05b45b9cc.tar.gz relx-36e0ad410310031cab1bf83d864017f05b45b9cc.tar.bz2 relx-36e0ad410310031cab1bf83d864017f05b45b9cc.zip |
Merge pull request #607 from bitnitdit/find_erts_dir_via_boot_no_dot_erlang
Prevent .erlang from prepending string to the erl root dir
Diffstat (limited to 'priv/templates/bin_windows')
-rw-r--r-- | priv/templates/bin_windows | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/bin_windows b/priv/templates/bin_windows index e66049e..b3ce796 100644 --- a/priv/templates/bin_windows +++ b/priv/templates/bin_windows @@ -60,7 +60,7 @@ cd %rootdir% @for /f "delims=" %%i in ('where erl') do ( set erl=%%i ) -@set dir_cmd="%erl%" -noshell -eval "io:format(\"~s\", [filename:nativename(code:root_dir())])." -s init stop +@set dir_cmd="%erl%" -boot no_dot_erlang -noshell -eval "io:format(\"~s\", [filename:nativename(code:root_dir())])." -s init stop @for /f "delims=" %%i in ('%%dir_cmd%%') do ( set erl_root=%%i ) |