summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_otp_app.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_otp_app.erl b/src/rebar_otp_app.erl
index e14975f..f705657 100644
--- a/src/rebar_otp_app.erl
+++ b/src/rebar_otp_app.erl
@@ -166,7 +166,7 @@ ebin_modules(AppInfo, Dir) ->
Beams = lists:sort(rebar_utils:beams(filename:join(Dir, "ebin"))),
SrcDirs = rebar_dir:src_dirs(rebar_app_info:opts(AppInfo), ["src"]),
FindSourceRules = [{".beam", ".erl",
- [{"ebin", SrcDir} || SrcDir <- SrcDirs]}],
+ [{"ebin", filename:join(SrcDir, "**")} || SrcDir <- SrcDirs]}],
Filtered = lists:filter(fun(Beam) ->
rebar_utils:find_source(filename:basename(Beam),
filename:dirname(Beam),