summaryrefslogtreecommitdiff
path: root/src/rebar_escripter.erl
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2010-04-28 08:44:06 -0600
committerDave Smith <dizzyd@dizzyd.com>2010-04-28 08:44:06 -0600
commitc19b8ac0031877101d162294b1009a9d3e7829ec (patch)
tree454c1d22738cad5a6d8872a3c78eec7cba075a1b /src/rebar_escripter.erl
parent87bca27644d4429add86dd274148dda9ae52eed4 (diff)
downloadrebar-c19b8ac0031877101d162294b1009a9d3e7829ec.tar.gz
Refactoring app file access to be via rebar_app_utils in prep for supporting .app.src
Diffstat (limited to 'src/rebar_escripter.erl')
-rw-r--r--src/rebar_escripter.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_escripter.erl b/src/rebar_escripter.erl
index 19101b6..84747c1 100644
--- a/src/rebar_escripter.erl
+++ b/src/rebar_escripter.erl
@@ -37,7 +37,7 @@
escriptize(_Config, AppFile) ->
%% Extract the application name from the archive -- this will be be what
%% we call the output script
- {ok, AppName, _AppData} = rebar_app_utils:load_app_file(AppFile),
+ AppName = rebar_app_utils:app_name(AppFile),
%% Construct the archive of everything in ebin/ dir -- put it on the
%% top-level of the zip file so that code loading works properly.