summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-01-10 15:50:04 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-01-13 17:39:14 +0100
commit27019e28672fafe62910b72f02c55ddf241cfb39 (patch)
tree289130754bafdd77b78c202380997a1baf28e2f4 /bootstrap
parentebcae06928c431a36187153b4c8f3d4366479051 (diff)
Fix code clarity in bootstrap
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap10
1 files changed, 4 insertions, 6 deletions
diff --git a/bootstrap b/bootstrap
index 5be3183..c30c6dc 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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"},