aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-05-16 09:57:19 +0200
committerFredrik Gustafsson <[email protected]>2013-05-16 09:57:19 +0200
commit1c18db4f7dae885481b35b4502c2695b208bf1d0 (patch)
tree62d87a0aa2f4d203cfeae5ec8d68904b104aabd7 /lib/reltool
parentc93d43ddb1b6155df44196adbc2667f1a1502bcc (diff)
parent0bd39fcb975b98ff03267b5c6950f242b19adc75 (diff)
downloadotp-1c18db4f7dae885481b35b4502c2695b208bf1d0.tar.gz
otp-1c18db4f7dae885481b35b4502c2695b208bf1d0.tar.bz2
otp-1c18db4f7dae885481b35b4502c2695b208bf1d0.zip
Merge branch 'maint'
Diffstat (limited to 'lib/reltool')
-rw-r--r--lib/reltool/src/reltool_utils.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reltool/src/reltool_utils.erl b/lib/reltool/src/reltool_utils.erl
index edccb889b1..9af8f6bae8 100644
--- a/lib/reltool/src/reltool_utils.erl
+++ b/lib/reltool/src/reltool_utils.erl
@@ -572,7 +572,7 @@ copy_file(From, To) ->
FromMode = FromInfo#file_info.mode,
ToMode = ToInfo#file_info.mode,
ToMode2 = FromMode bor ToMode,
- FileInfo = FromInfo#file_info{mode = ToMode2},
+ FileInfo = ToInfo#file_info{mode = ToMode2},
write_file_info(To, FileInfo),
ok;
{error, Reason} ->