Skip to content

Commit

Permalink
fixed compile bug of *.dtl files
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfa committed Mar 19, 2013
1 parent b3a6f04 commit 8cc3f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cc_compiler.erl
Expand Up @@ -150,7 +150,7 @@ compile(dtl, [], _Options) ->
compile(dtl, File, Options) ->
%%?DEBUG(File),
%%?DEBUG(Options),
erlydtl_compiler:compile_dir("./templates", filename:basename(File), Options).
erlydtl:compile(File, filename:rootname(filename:basename(File)) ++ "_dtl", Options).

print_results(_Module, _SrcFile, [], []) ->
%% Do not print message on successful compilation;
Expand Down

0 comments on commit 8cc3f62

Please sign in to comment.