From c19b8ac0031877101d162294b1009a9d3e7829ec Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Wed, 28 Apr 2010 08:44:06 -0600 Subject: Refactoring app file access to be via rebar_app_utils in prep for supporting .app.src --- src/rebar_escripter.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rebar_escripter.erl') 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. -- cgit v1.1