Match ok result of filelib:ensure_dir/1

This commit is contained in:
Tuncer Ayaz 2010-10-22 22:12:25 +02:00
parent 67d4fbf337
commit 1690139be9

View file

@ -42,7 +42,7 @@ escriptize(Config, AppFile) ->
%% Get the output filename for the escript -- this may include dirs %% Get the output filename for the escript -- this may include dirs
Filename = rebar_config:get_local(Config, escript_name, AppName), Filename = rebar_config:get_local(Config, escript_name, AppName),
filelib:ensure_dir(Filename), ok = filelib:ensure_dir(Filename),
%% Look for a list of other applications (dependencies) to include %% Look for a list of other applications (dependencies) to include
%% in the output file. We then use the .app files for each of these %% in the output file. We then use the .app files for each of these