Browse Source

Fix code clarity in bootstrap

pull/3/head
Tuncer Ayaz 14 years ago
parent
commit
27019e2867
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      bootstrap

+ 4
- 6
bootstrap View File

@ -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"},

Loading…
Cancel
Save