summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2010-01-14 07:08:12 -0500
committerDave Smith <dizzyd@dizzyd.com>2010-01-14 07:08:12 -0500
commit66fa90ce6c1e0607a01a3ea041acf1e0ae140636 (patch)
treebc8aeaacd5fee6cbbf9d3b0996fe54e6fe7b6cb3
parentdce1673fdbf53448260b6c5757a25160c70ee1d2 (diff)
Try previous commit again; make sure include/ directory exists
-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 7a61fad..83e0bd1 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(Hrl),
+ filelib:ensure_dir(filename:join("include", Hrl)),
[] = os:cmd(?FMT("mv ~s include", [Hrl])),
ok;
Other ->