From e6f6ccc7570ad57f6d1416b3f8c59551b7aaa5c6 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Mon, 31 Aug 2015 21:40:33 -0500 Subject: more cleanup --- src/rebar_prv_plugins_upgrade.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/rebar_prv_plugins_upgrade.erl') diff --git a/src/rebar_prv_plugins_upgrade.erl b/src/rebar_prv_plugins_upgrade.erl index fabfa5b..f946f40 100644 --- a/src/rebar_prv_plugins_upgrade.erl +++ b/src/rebar_prv_plugins_upgrade.erl @@ -91,5 +91,6 @@ build_plugin(AppInfo, Apps, State) -> Providers = rebar_state:providers(State), AppDir = rebar_app_info:dir(AppInfo), C = rebar_config:consult(AppDir), - S = rebar_state:new(rebar_state:all_deps(rebar_state:new(), Apps), C, AppInfo), - rebar_prv_compile:compile(S, Providers, AppInfo). + S = rebar_state:new(rebar_state:all_deps(rebar_state:new(), Apps), C, AppDir), + AppInfo1 = rebar_app_info:update_opts(AppInfo, rebar_app_info:opts(AppInfo), C), + rebar_prv_compile:compile(S, Providers, AppInfo1). -- cgit v1.1