mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 11:09:55 +00:00
Fix code clarity in bootstrap
This commit is contained in:
parent
ebcae06928
commit
27019e2867
1 changed files with 4 additions and 6 deletions
|
@ -19,11 +19,9 @@ main(Args) ->
|
|||
end,
|
||||
|
||||
%% Add check for debug flag
|
||||
case lists:member("debug", Args) of
|
||||
true ->
|
||||
DebugFlag = debug_info;
|
||||
false ->
|
||||
DebugFlag = undefined
|
||||
DebugFlag = case lists:member("debug", Args) of
|
||||
true -> debug_info;
|
||||
false -> undefined
|
||||
end,
|
||||
|
||||
%% Compile all src/*.erl to ebin
|
||||
|
|
Loading…
Reference in a new issue