From 4e0c9506f5652adfe19d0e8ee7271d022b2f5832 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 24 Feb 2012 18:06:52 +0100 Subject: [PATCH] Fix src_dirs option to not hard-code "src" --- src/rebar_erlc_compiler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ->