summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-02-24 18:06:52 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-02-24 18:06:52 +0100
commit4e0c9506f5652adfe19d0e8ee7271d022b2f5832 (patch)
tree219bb081bc6111f1f1981d682baa9679cff19067
parent33546cc402aba5ab6ffe9f3b3002e7cf677761ff (diff)
Fix src_dirs option to not hard-code "src"
-rw-r--r--src/rebar_erlc_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index c7c0e65..6535324 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -321,7 +321,7 @@ gather_src([Dir|Rest], Srcs) ->
src_dirs([]) ->
["src"];
src_dirs(SrcDirs) ->
- SrcDirs ++ src_dirs([]).
+ SrcDirs.
-spec dirs(Dir::file:filename()) -> [file:filename()].
dirs(Dir) ->