From 623200ec17c23973e137f2169a48d6837dd57a3c Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Fri, 4 Jun 2010 12:21:24 -0600 Subject: Adding rt for bug 5 --- src/rebar_core.erl | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/rebar_core.erl b/src/rebar_core.erl index 8886251..8b7c74f 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -319,13 +319,14 @@ process_subdirs(Dir, Modules, Config, ModuleSetFile, Command, ProcessedDirs) -> %% http://bitbucket.org/basho/rebar/issue/5 %% If the compiler ran, run the preprocess again because a new ebin dir %% may have been produced. - {UpdatedConfig1, _} = case (Dirs =/= [] andalso compile == Command) of - true -> - acc_modules(Modules, preprocess, UpdatedConfig, - ModuleSetFile); - false -> - {UpdatedConfig, Dirs} - end, + %% {UpdatedConfig1, _} = case (Dirs =/= [] andalso compile == Command) of + %% true -> + %% acc_modules(Modules, preprocess, UpdatedConfig, + %% ModuleSetFile); + %% false -> + %% {UpdatedConfig, Dirs} + %% end, + UpdatedConfig1 = UpdatedConfig, %% Make sure the CWD is reset properly; processing subdirs may have caused it %% to change -- cgit v1.1