Check for .app.src first

This commit is contained in:
Tuncer Ayaz 2012-01-13 19:39:28 +01:00
parent eab5ae5298
commit 5b15c851d8

View file

@ -124,8 +124,8 @@ maybe_process_dir({[], undefined}=ModuleSet, Config, CurrentCodePath,
process_dir0(Dir, Command, DirSet, Config, CurrentCodePath, ModuleSet); process_dir0(Dir, Command, DirSet, Config, CurrentCodePath, ModuleSet);
maybe_process_dir({_, ModuleSetFile}=ModuleSet, Config, CurrentCodePath, maybe_process_dir({_, ModuleSetFile}=ModuleSet, Config, CurrentCodePath,
Dir, Command, DirSet) -> Dir, Command, DirSet) ->
case lists:suffix(".app", ModuleSetFile) case lists:suffix(".app.src", ModuleSetFile)
orelse lists:suffix(".app.src", ModuleSetFile) of orelse lists:suffix(".app", ModuleSetFile) of
true -> true ->
%% .app or .app.src file, check if is_skipped_app %% .app or .app.src file, check if is_skipped_app
maybe_process_dir0(ModuleSetFile, ModuleSet, maybe_process_dir0(ModuleSetFile, ModuleSet,