Merge pull request #328 from saleyn/depcheck

Fix erlydtl dependency check
This commit is contained in:
Dave Smith 2012-11-10 06:13:15 -08:00
commit 0c8dd15c79

View file

@ -227,8 +227,8 @@ referenced_dtls1(Step, DtlOpts, Seen) ->
AllRefs =
lists:append(
[begin
Cmd = lists:flatten(["grep -o [^\\\"]*",
ExtMatch, " ", F]),
Cmd = lists:flatten(["grep -o [^\\\"]*\\",
ExtMatch, "[^\\\"]* ", F]),
case rebar_utils:sh(Cmd, ShOpts) of
{ok, Res} ->
string:tokens(Res, "\n");