couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [42/50] rebar commit: updated refs/heads/import to e9f62c4
Date Mon, 01 Jun 2015 20:42:36 GMT
Follow-up typo fixes for #327


Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/38934da8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/38934da8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/38934da8

Branch: refs/heads/import
Commit: 38934da869b6950308986b685c1bfbbb6df18e62
Parents: 1754678
Author: Tuncer Ayaz <tuncer.ayaz@gmail.com>
Authored: Thu Jul 17 22:19:02 2014 +0200
Committer: Tuncer Ayaz <tuncer.ayaz@gmail.com>
Committed: Thu Jul 17 22:20:51 2014 +0200

----------------------------------------------------------------------
 src/rebar_utils.erl              | 8 ++++----
 test/rebar_otp_release_tests.erl | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/38934da8/src/rebar_utils.erl
----------------------------------------------------------------------
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index 2a14503..f3a082d 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -384,15 +384,15 @@ otp_release1([$R,N|_]=Rel) when is_integer(N) ->
 %% 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
-%% Read vsn strinf from the 'OTP_VERSION' file and return as list without
+%% Read vsn string from the 'OTP_VERSION' file and return as list without
 %% the "\n".
 otp_release1(Rel) ->
     File = filename:join([code:root_dir(), "releases", Rel, "OTP_VERSION"]),
     {ok, Vsn} = file:read_file(File),
 
-    %% NOTE: It's fine to rely on the binary module here because we
-    %% can be sure that it's available when the otp_release string
-    %% does not begin with $R.
+    %% It's fine to rely on the binary module here because we can
+    %% be sure that it's available when the otp_release string does
+    %% not begin with $R.
     Size = byte_size(Vsn),
     %% The shortest vsn string consists of at least two digits
     %% followed by "\n". Therefore, it's safe to assume Size >= 3.

http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/38934da8/test/rebar_otp_release_tests.erl
----------------------------------------------------------------------
diff --git a/test/rebar_otp_release_tests.erl b/test/rebar_otp_release_tests.erl
index 61efdad..3045136 100644
--- a/test/rebar_otp_release_tests.erl
+++ b/test/rebar_otp_release_tests.erl
@@ -35,7 +35,7 @@ check_otp_release_test() ->
             ?assert(true);
         %% >= 17.x
         [N|_]=Rel when is_integer(N) ->
-            %% Check that it has at least Major.Minor
+            %% Check that it has at least Major.Minor.
             ?assert(length(string:tokens(Rel, ".")) > 1),
 
             %% If otp_patch_apply was used and the release version has


Mime
View raw message