Skip to content

Commit

Permalink
Fix code clarity in bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuncer Ayaz committed Jan 13, 2011
1 parent ebcae06 commit 27019e2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit 27019e2

Please sign in to comment.