From 27019e28672fafe62910b72f02c55ddf241cfb39 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 10 Jan 2011 15:50:04 +0100 Subject: Fix code clarity in bootstrap --- bootstrap | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'bootstrap') 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"}, -- cgit v1.1 From c466076ffb5a1ea4c00d49fefff0dcfbceb58236 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 31 Jan 2011 17:43:31 +0100 Subject: Clean up emacs file local variables --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index c30c6dc..f779fb3 100755 --- a/bootstrap +++ b/bootstrap @@ -1,5 +1,5 @@ #!/usr/bin/env escript -%% -*- mode:erlang;tab-width:4;erlang-indent-level:4;indent-tabs-mode:nil -*- +%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- %% ex: ft=erlang ts=4 sw=4 et main(Args) -> -- cgit v1.1