mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Merge pull request #1 from tuncer/ta-old-arch_string
Revert arch string changes
This commit is contained in:
commit
fa5c8f44ac
2 changed files with 2 additions and 7 deletions
|
@ -1,3 +1,3 @@
|
|||
|
||||
rebar_eunit.erl:351: Call to missing or unexported function eunit_test:function_wrapper/2
|
||||
rebar_utils.erl:163: Call to missing or unexported function escript:foldl/3
|
||||
rebar_utils.erl:162: Call to missing or unexported function escript:foldl/3
|
||||
|
|
|
@ -75,8 +75,7 @@ is_arch(ArchRegex) ->
|
|||
get_arch() ->
|
||||
Words = wordsize(),
|
||||
erlang:system_info(otp_release) ++ "-"
|
||||
++ erlang:system_info(system_architecture) ++ "-" ++ Words
|
||||
++ "-" ++ os_family().
|
||||
++ erlang:system_info(system_architecture) ++ "-" ++ Words.
|
||||
|
||||
wordsize() ->
|
||||
try erlang:system_info({wordsize, external}) of
|
||||
|
@ -318,10 +317,6 @@ processing_base_dir(Config, Dir) ->
|
|||
%% Internal functions
|
||||
%% ====================================================================
|
||||
|
||||
os_family() ->
|
||||
{OsFamily, _} = os:type(),
|
||||
atom_to_list(OsFamily).
|
||||
|
||||
get_deprecated_3(Get, Config, OldOpt, NewOpt, Default, When) ->
|
||||
case Get(Config, NewOpt, Default) of
|
||||
Default ->
|
||||
|
|
Loading…
Reference in a new issue