221V 3 years ago
parent
commit
f235062b55
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/active_compile_files.erl

+ 2 - 2
src/active_compile_files.erl

@@ -3,8 +3,8 @@
 -export([do_compile/4, compile_one_erl/3, compile_all_dtl/2, compile_one_dtl/4]).
 
 
-%do_compile(Rest, Path, Emakefile_Paths, Emakefile_Settings) ->
-do_compile([File], Path, Emakefile_Paths, Emakefile_Settings) ->
+do_compile(Rest, Path, Emakefile_Paths, Emakefile_Settings) ->
+  File = lists:last(Rest),
   case lists:reverse(File) of
     "lre." ++ _ ->
       % .erl