Преглед на файлове

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;

Зареждане…
Отказ
Запис