summaryrefslogtreecommitdiff
path: root/src/rebar_utils.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2014-07-17 16:24:14 -0400
committerFred Hebert <mononcqc@ferd.ca>2014-07-17 16:24:14 -0400
commit3b0f9163816c30e8f650295dd3c85535363bc20f (patch)
tree04a29215b885629971a1fbade6f32cc90fde1695 /src/rebar_utils.erl
parent17546788c038ef4767218b86844b115a2379ed30 (diff)
parent38934da869b6950308986b685c1bfbbb6df18e62 (diff)
Merge pull request #328 from tuncer/typos-in-327
Follow-up typo fixes for #327
Diffstat (limited to 'src/rebar_utils.erl')
-rw-r--r--src/rebar_utils.erl8
1 files changed, 4 insertions, 4 deletions
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.