summaryrefslogtreecommitdiff
path: root/src/rebar_prv_plugins_upgrade.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-08-27 07:29:08 +1200
committerFred Hebert <mononcqc@ferd.ca>2015-08-27 07:29:08 +1200
commitbb14f2425763857e40aba9d8ce8299e5cc96a9a2 (patch)
tree4483b595fa49e92829f7b25994e22382040af146 /src/rebar_prv_plugins_upgrade.erl
parent79d66de59c7a1673ce7374d45f5853a9f4aa3d91 (diff)
parenta27fd22c3fe1f71091dce27be3c71dc5b75ae2f0 (diff)
Merge pull request #748 from tsloughter/pkg_attribute
support pkg attribute on dep to declare package name different from app name
Diffstat (limited to 'src/rebar_prv_plugins_upgrade.erl')
-rw-r--r--src/rebar_prv_plugins_upgrade.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_plugins_upgrade.erl b/src/rebar_prv_plugins_upgrade.erl
index dfc9990..fabfa5b 100644
--- a/src/rebar_prv_plugins_upgrade.erl
+++ b/src/rebar_prv_plugins_upgrade.erl
@@ -91,5 +91,5 @@ 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, AppDir),
+ S = rebar_state:new(rebar_state:all_deps(rebar_state:new(), Apps), C, AppInfo),
rebar_prv_compile:compile(S, Providers, AppInfo).