From 27019e28672fafe62910b72f02c55ddf241cfb39 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 10 Jan 2011 15:50:04 +0100 Subject: [PATCH] Fix code clarity in bootstrap --- bootstrap | 10 ++++------ 1 file 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"},