summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2012-11-10 06:13:15 -0800
committerDave Smith <dizzyd@dizzyd.com>2012-11-10 06:13:15 -0800
commit0c8dd15c792b690abc19ac74025077eb1bc7281e (patch)
tree5ce2119f9384e53b111b8c74e2ff1166fd05707a /src
parent7826232a03cf6809cd2ae47bae92f0eb1bd79210 (diff)
parent3f5ab55787bd2b8285b648c379f3fc27f9f5d584 (diff)
Merge pull request #328 from saleyn/depcheck
Fix erlydtl dependency check
Diffstat (limited to 'src')
-rw-r--r--src/rebar_erlydtl_compiler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_erlydtl_compiler.erl b/src/rebar_erlydtl_compiler.erl
index 23ea41c..25981b2 100644
--- a/src/rebar_erlydtl_compiler.erl
+++ b/src/rebar_erlydtl_compiler.erl
@@ -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");