couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [44/50] rebar commit: updated refs/heads/import to 5dea85d
Date Wed, 23 Sep 2015 12:29:38 GMT
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 <tuncer.ayaz@gmail.com>
Authored: Fri Jun 12 12:56:20 2015 +0200
Committer: Tuncer Ayaz <tuncer.ayaz@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"])


Mime
View raw message