summaryrefslogtreecommitdiff
path: root/lang/erlang14/files/patch-lib_typer_src_typer__info.erl
blob: 953e440d59806c7595660a083bc8bbd98d610bb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
$FreeBSD$

--- lib/typer/src/typer_info.erl.orig
+++ lib/typer/src/typer_info.erl
@@ -123,6 +123,5 @@
 	     dialyzerObj=NewDialyzerObj}.
 
 get_dialyzer_plt() ->
-  DialyzerDir = code:lib_dir(dialyzer),
-  Dialyzer_Init_Plt = filename:join([DialyzerDir,"plt","dialyzer_init_plt"]),
+  Dialyzer_Init_Plt = filename:join([os:getenv ("HOME"), ".dialyzer_init_plt"]),
   dialyzer_plt:from_file(typer_plt, Dialyzer_Init_Plt).