summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-12-07 01:03:17 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-12-07 01:03:17 +0100
commit0bb429c19751ebdb55f1e15dba5444f6fac6e8ad (patch)
treed2b81b7fcb18b212570c081bd980dff861f99c10
parent2e0eab45cb38dad059c6efee9561e5ed4fa191eb (diff)
Fix code clarity
-rw-r--r--src/rebar_otp_app.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_otp_app.erl b/src/rebar_otp_app.erl
index 5987566..a8a4ecd 100644
--- a/src/rebar_otp_app.erl
+++ b/src/rebar_otp_app.erl
@@ -39,11 +39,11 @@ compile(Config, File) ->
%% If we get an .app.src file, it needs to be pre-processed and
%% written out as a ebin/*.app file. That resulting file will then
%% be validated as usual.
- case rebar_app_utils:is_app_src(File) of
+ AppFile = case rebar_app_utils:is_app_src(File) of
true ->
- AppFile = preprocess(File);
+ preprocess(File);
false ->
- AppFile = File
+ File
end,
%% Load the app file and validate it.