summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap10
1 files changed, 4 insertions, 6 deletions
diff --git a/bootstrap b/bootstrap
index 5be3183..c30c6dc 100755
--- a/bootstrap
+++ b/bootstrap
@@ -19,12 +19,10 @@ main(Args) ->
end,
%% Add check for debug flag
- case lists:member("debug", Args) of
- true ->
- DebugFlag = debug_info;
- false ->
- DebugFlag = undefined
- end,
+ DebugFlag = case lists:member("debug", Args) of
+ true -> debug_info;
+ false -> undefined
+ end,
%% Compile all src/*.erl to ebin
case make:files(filelib:wildcard("src/*.erl"), [{outdir, "ebin"}, {i, "include"},