浏览代码

Append wordsize to the architecture string

pull/3/head
Dave Smith 15 年前
父节点
当前提交
22d21f63d0
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/rebar_utils.erl

+ 2
- 1
src/rebar_utils.erl 查看文件

@ -48,7 +48,8 @@ get_cwd() ->
is_arch(ArchRegex) ->
Arch = erlang:system_info(system_architecture),
Words = integer_to_list(8 * erlang:system_info(wordsize)),
Arch = erlang:system_info(system_architecture) ++ "-" ++ Words,
case re:run(Arch, ArchRegex, [{capture, none}]) of
match ->
true;

正在加载...
取消
保存