summaryrefslogtreecommitdiff
path: root/src/rebar_protobuffs_compiler.erl
diff options
context:
space:
mode:
authorKostis Sagonas <kostis@cs.ntua.gr>2010-10-10 14:11:13 -0600
committerKostis Sagonas <kostis@cs.ntua.gr>2010-10-10 14:11:13 -0600
commite024778599c71559f97003014ae8457a19e01256 (patch)
treeb041ad5aa571c862e0669e83cdf451606db08e3c /src/rebar_protobuffs_compiler.erl
parent93f77b50fc89690848a902428b38bcf5e21bfd7e (diff)
Dialyzer related cleanups
Diffstat (limited to 'src/rebar_protobuffs_compiler.erl')
-rw-r--r--src/rebar_protobuffs_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_protobuffs_compiler.erl b/src/rebar_protobuffs_compiler.erl
index 83e0bd1..6118562 100644
--- a/src/rebar_protobuffs_compiler.erl
+++ b/src/rebar_protobuffs_compiler.erl
@@ -110,7 +110,7 @@ compile_each([{Proto, Beam, Hrl} | Rest]) ->
%% into the ebin/ and include/ directories respectively
%% TODO: Protobuffs really needs to be better about this...sigh.
[] = os:cmd(?FMT("mv ~s ebin", [Beam])),
- filelib:ensure_dir(filename:join("include", Hrl)),
+ ok = filelib:ensure_dir(filename:join("include", Hrl)),
[] = os:cmd(?FMT("mv ~s include", [Hrl])),
ok;
Other ->