Make sure to create dir structure for output bams

This commit is contained in:
Dave Smith 2010-01-04 05:47:45 -07:00
parent 42647f4c22
commit 51f6906da9

View file

@ -124,6 +124,7 @@ internal_erl_compile(Source, Config, Outdir) ->
%% Construct the target filename
Target = filename:join([Outdir | string:tokens(Module, ".")]) ++ ".beam",
ok = filelib:ensure_dir(Target),
%% If the file needs compilation, based on last mod date of includes or
%% the target,