summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_file_utils.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_file_utils.erl b/src/rebar_file_utils.erl
index 2f39b96..732d83f 100644
--- a/src/rebar_file_utils.erl
+++ b/src/rebar_file_utils.erl
@@ -201,9 +201,9 @@ write_file_if_contents_differ(Filename, Bytes) ->
{ok, ToWrite} ->
ok;
{ok, _} ->
- file:write_file(Filename, ToWrite);
+ file:write_file(Filename, ToWrite, [raw]);
{error, _} ->
- file:write_file(Filename, ToWrite)
+ file:write_file(Filename, ToWrite, [raw])
end.
%% returns an os appropriate tmpdir given a path