Permalink
Browse files

Fix code clarity in bootstrap

  • Loading branch information...
1 parent ebcae06 commit 27019e28672fafe62910b72f02c55ddf241cfb39 @tuncer tuncer committed Jan 10, 2011
Showing with 4 additions and 6 deletions.
  1. +4 −6 bootstrap
View
@@ -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"},

0 comments on commit 27019e2

Please sign in to comment.