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 = AllRefs =
lists:append( lists:append(
[begin [begin
Cmd = lists:flatten(["grep -o [^\\\"]*", Cmd = lists:flatten(["grep -o [^\\\"]*\\",
ExtMatch, " ", F]), ExtMatch, "[^\\\"]* ", F]),
case rebar_utils:sh(Cmd, ShOpts) of case rebar_utils:sh(Cmd, ShOpts) of
{ok, Res} -> {ok, Res} ->
string:tokens(Res, "\n"); string:tokens(Res, "\n");