summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-10-22 22:12:25 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-10-22 22:12:25 +0200
commit1690139be9532851f8edd3c56aff0e6529e999a1 (patch)
treeda4f162f5d1d4471e129464fc24512f9d44017a2
parent67d4fbf337d76c10214f642b635b40b4e7c35412 (diff)
Match ok result of filelib:ensure_dir/1
-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 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