diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-02-24 18:06:52 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-02-24 18:06:52 +0100 |
commit | 4e0c9506f5652adfe19d0e8ee7271d022b2f5832 (patch) | |
tree | 219bb081bc6111f1f1981d682baa9679cff19067 | |
parent | 33546cc402aba5ab6ffe9f3b3002e7cf677761ff (diff) |
Fix src_dirs option to not hard-code "src"
-rw-r--r-- | src/rebar_erlc_compiler.erl | 2 |
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) -> |