Try previous commit again; make sure include/ directory exists

This commit is contained in:
Dave Smith 2010-01-14 07:08:12 -05:00
parent dce1673fdb
commit 66fa90ce6c

View file

@ -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 ->