Fix code clarity in bootstrap

This commit is contained in:
Tuncer Ayaz 2011-01-10 15:50:04 +01:00
parent ebcae06928
commit 27019e2867

View file

@ -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