aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2012-04-03 13:55:45 +0200
committerHenrik Nord <[email protected]>2012-04-24 12:02:26 +0200
commit3ab2dd6d490a3b0d1e8d8cad64b460e09b130c15 (patch)
tree5a0432dd02c26ff035d77956af6ca90b2a5ae4ab /lib
parent20412ad6e285a71246e660094a5e8610dfc7b71e (diff)
downloadotp-3ab2dd6d490a3b0d1e8d8cad64b460e09b130c15.tar.gz
otp-3ab2dd6d490a3b0d1e8d8cad64b460e09b130c15.tar.bz2
otp-3ab2dd6d490a3b0d1e8d8cad64b460e09b130c15.zip
Don't rewrite unchanged PLT
Diffstat (limited to 'lib')
-rw-r--r--lib/dialyzer/src/dialyzer_cl.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl.erl b/lib/dialyzer/src/dialyzer_cl.erl
index 04a0db890f..6d3b1f0531 100644
--- a/lib/dialyzer/src/dialyzer_cl.erl
+++ b/lib/dialyzer/src/dialyzer_cl.erl
@@ -188,6 +188,7 @@ plt_common(#options{init_plts = [InitPlt]} = Opts, RemoveFiles, AddFiles) ->
ok ->
case Opts#options.output_plt of
none -> ok;
+ InitPlt -> ok;
OutPlt ->
{ok, Binary} = file:read_file(InitPlt),
ok = file:write_file(OutPlt, Binary)