summaryrefslogtreecommitdiff
path: root/src/rebar_base_compiler.erl
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@yahoo.ca>2016-12-09 10:52:38 -0800
committerGitHub <noreply@github.com>2016-12-09 10:52:38 -0800
commitca4c7f4f3d80689153d0854a45adb458a2849841 (patch)
tree0a044d7ba7ad53faf68a5f93331d899d52c9687d /src/rebar_base_compiler.erl
parentffd97718b83debf8263eb4b1a4b7f2b898562a7a (diff)
parentfc12b06d27d0e1df4719a2e38e241f36637d369e (diff)
Merge pull request #1411 from ferd/fix-regex-matches
Fix regex match for ignored file
Diffstat (limited to 'src/rebar_base_compiler.erl')
-rw-r--r--src/rebar_base_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_base_compiler.erl b/src/rebar_base_compiler.erl
index bfd79a5..9aa7419 100644
--- a/src/rebar_base_compiler.erl
+++ b/src/rebar_base_compiler.erl
@@ -54,7 +54,7 @@ run(Config, FirstFiles, SourceDir, SourceExt, TargetDir, TargetExt,
run(Config, FirstFiles, SourceDir, SourceExt, TargetDir, TargetExt,
Compile3Fn, Opts) ->
%% Convert simple extension to proper regex
- SourceExtRe = "^(?!._).*\\" ++ SourceExt ++ [$$],
+ SourceExtRe = "^(?!\\._).*\\" ++ SourceExt ++ [$$],
Recursive = proplists:get_value(recursive, Opts, true),
%% Find all possible source files