@ -498,10 +498,20 @@ erts_dir() ->
os_env ( ) - >
os_env ( ) - >
ReOpts = [ { return , list } , { parts , 2 } , unicode ] ,
ReOpts = [ { return , list } , { parts , 2 } , unicode ] ,
Os = [ list_to_tuple ( re : split ( S , " = " , ReOpts ) ) | | S < - os : getenv ( ) ] ,
Os = [ list_to_tuple ( re : split ( S , " = " , ReOpts ) ) | |
S < - lists : filter ( fun discard_deps_vars / 1 , os : getenv ( ) ) ] ,
% % Drop variables without a name ( win32 )
% % Drop variables without a name ( win32 )
[ T1 | | { K , _ V } = T1 < - Os , K =/= [ ] ] .
[ T1 | | { K , _ V } = T1 < - Os , K =/= [ ] ] .
% %
% % To avoid having multiple repetitions of the same environment variables
% % ( ERL_LIBS ) , avoid exporting any variables that may cause conflict with
% % those exported by the rebar_deps module ( ERL_LIBS , REBAR_DEPS_DIR )
% %
discard_deps_vars ( " ERL_LIBS= " ++ _ Value ) - > false ;
discard_deps_vars ( " REBAR_DEPS_DIR= " ++ _ Value ) - > false ;
discard_deps_vars ( _ Var ) - > true .
select_compile_template ( drv , Compiler ) - >
select_compile_template ( drv , Compiler ) - >
select_compile_drv_template ( Compiler ) ;
select_compile_drv_template ( Compiler ) ;
select_compile_template ( exe , Compiler ) - >
select_compile_template ( exe , Compiler ) - >