diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-02-12 07:21:16 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-02-17 10:16:55 -0600 |
commit | 410e2bcdecbf10037e6430f64707ef244a738e45 (patch) | |
tree | 70945116b1f16e2595a7a10edbb2ac8cf803a0bc /src/rebar_app_info.erl | |
parent | b654272063d3596a54407f0a1b093db09d846a52 (diff) |
replace package management with hex.pm
Diffstat (limited to 'src/rebar_app_info.erl')
-rw-r--r-- | src/rebar_app_info.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_app_info.erl b/src/rebar_app_info.erl index dca5aa8..9d779be 100644 --- a/src/rebar_app_info.erl +++ b/src/rebar_app_info.erl @@ -79,7 +79,7 @@ new(AppName, Vsn) -> new(AppName, Vsn, Dir) -> {ok, #app_info_t{name=ec_cnv:to_binary(AppName), original_vsn=Vsn, - dir=Dir}}. + dir=ec_cnv:to_list(Dir)}}. %% @doc build a complete version of the app info with all fields set. -spec new(atom() | binary() | string(), binary() | string(), file:name(), list()) -> @@ -87,7 +87,7 @@ new(AppName, Vsn, Dir) -> new(AppName, Vsn, Dir, Deps) -> {ok, #app_info_t{name=ec_cnv:to_binary(AppName), original_vsn=Vsn, - dir=Dir, + dir=ec_cnv:to_list(Dir), deps=Deps}}. %% @doc discover a complete version of the app info with all fields set. @@ -200,7 +200,7 @@ dir(#app_info_t{dir=Dir}) -> -spec dir(t(), file:name()) -> t(). dir(AppInfo=#app_info_t{}, Dir) -> - AppInfo#app_info_t{dir=Dir}. + AppInfo#app_info_t{dir=ec_cnv:to_list(Dir)}. -spec ebin_dir(t()) -> file:name(). ebin_dir(#app_info_t{dir=Dir}) -> |