summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2014-07-25 14:10:04 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2014-07-25 14:10:04 -0500
commit19c215ee9fe0726a1983b36f4f8bcc21d42a5ef8 (patch)
tree8a47941bbc34397269c9b42a84e33db6d0294476 /bootstrap
parente8a6cfe04ab0612dcd089c7aed035520e3dd9aee (diff)
parent3fb4a7c540da227382ea0831c0c6424765900123 (diff)
Merge pull request #299 from tuncer/rok-resource-forks
Fix OS X resource fork handling (Reported-by: Richard O'Keefe)
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index df09f7e..7d9a1c1 100755
--- a/bootstrap
+++ b/bootstrap
@@ -47,7 +47,9 @@ main(Args) ->
end,
%% Compile all src/*.erl to ebin
- case make:files(filelib:wildcard("src/*.erl"),
+ %% To not accidentally try to compile files like Mac OS X resource forks,
+ %% we only look for rebar source files that start with a letter.
+ case make:files(filelib:wildcard("src/[a-zA-Z]*.erl"),
[{outdir, "ebin"}, {i, "include"},
DebugFlag,
NamespacedTypes,