diff options
author | Joseph Wayne Norton <norton@alum.mit.edu> | 2011-01-09 16:06:51 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-01-09 16:06:51 +0100 |
commit | 5b05e54cda77d6e45fd6d1cc8ea1dabfafa6bcb1 (patch) | |
tree | 469778607f70ede36d35c6c1822105aaae484646 /src/rebar_utils.erl | |
parent | 5a371496422a60b6ce6d409d680ea9107eefb019 (diff) |
Add otp_release to platform string
Diffstat (limited to 'src/rebar_utils.erl')
-rw-r--r-- | src/rebar_utils.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index 17fb95a..f49969a 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -60,7 +60,8 @@ is_arch(ArchRegex) -> get_arch() -> Words = integer_to_list(8 * erlang:system_info(wordsize)), - erlang:system_info(system_architecture) ++ "-" ++ Words. + erlang:system_info(otp_release) ++ "-" + ++ erlang:system_info(system_architecture) ++ "-" ++ Words. %% %% Options = [Option] -- defaults to [use_stdout, abort_on_error] |