summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap5
1 files changed, 4 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index f02ccd3..d65ccee 100755
--- a/bootstrap
+++ b/bootstrap
@@ -24,7 +24,10 @@ main(Args) ->
true ->
rm("ebin/*.beam");
false ->
- rm("ebin/rebar.beam")
+ case filelib:is_file("ebin/rebar.beam") of
+ true -> rm("ebin/rebar.beam");
+ false -> io:fwrite("No beam files found.~n")
+ end
end,
%% Add check for debug flag