summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap3
1 files changed, 1 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 7409cbe..8f7af30 100755
--- a/bootstrap
+++ b/bootstrap
@@ -90,8 +90,7 @@ compile(App, FirstFiles) ->
bootstrap_rebar3() ->
filelib:ensure_dir("_build/default/lib/rebar/ebin/dummy.beam"),
- filelib:ensure_dir("_build/default/lib/rebar/src/dummy.erl"),
- ec_file:copy("src", "_build/default/lib/rebar/src", [recursive]),
+ file:make_symlink(filename:absname("src"), filename:absname("_build/default/lib/rebar/src")),
Sources = filelib:wildcard("src/*.erl"),
[compile:file(X, [{outdir, "_build/default/lib/rebar/ebin/"}]) || X <- Sources],
code:add_path(filename:absname("_build/default/lib/rebar/ebin")).