You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/09/23 14:29:38 UTC
[44/50] rebar commit: updated refs/heads/import to 5dea85d
rebar_utils: rename internal function
Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/54a72423
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/54a72423
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/54a72423
Branch: refs/heads/import
Commit: 54a724238f63aeaf59542c7dc7baeaf569e3fd0d
Parents: 8ec3a55
Author: Tuncer Ayaz <tu...@gmail.com>
Authored: Fri Jun 12 12:56:20 2015 +0200
Committer: Tuncer Ayaz <tu...@gmail.com>
Committed: Fri Jun 12 12:56:20 2015 +0200
----------------------------------------------------------------------
src/rebar_utils.erl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/54a72423/src/rebar_utils.erl
----------------------------------------------------------------------
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index b250671..9681756 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -405,15 +405,15 @@ patch_env(Config, [E | Rest]) ->
%% ====================================================================
otp_release() ->
- rmemo:call(fun otp_release1/1, [(erlang:system_info(otp_release))]).
+ rmemo:call(fun otp_release_1/1, [(erlang:system_info(otp_release))]).
%% If OTP <= R16, otp_release is already what we want.
-otp_release1([$R,N|_]=Rel) when is_integer(N) ->
+otp_release_1([$R,N|_]=Rel) when is_integer(N) ->
Rel;
%% If OTP >= 17.x, erlang:system_info(otp_release) returns just the
%% major version number, we have to read the full version from
%% a file. See http://www.erlang.org/doc/system_principles/versions.html
-otp_release1(Rel) ->
+otp_release_1(Rel) ->
Files = [
filename:join([code:root_dir(), "releases", Rel, "OTP_VERSION"]),
filename:join([code:root_dir(), "OTP_VERSION"])