From 1690139be9532851f8edd3c56aff0e6529e999a1 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 22 Oct 2010 22:12:25 +0200 Subject: [PATCH] Match ok result of filelib:ensure_dir/1 --- src/rebar_escripter.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_escripter.erl b/src/rebar_escripter.erl index 97f70c5..f2870d3 100644 --- a/src/rebar_escripter.erl +++ b/src/rebar_escripter.erl @@ -42,7 +42,7 @@ escriptize(Config, AppFile) -> %% Get the output filename for the escript -- this may include dirs 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 %% in the output file. We then use the .app files for each of these