From 0bb429c19751ebdb55f1e15dba5444f6fac6e8ad Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Tue, 7 Dec 2010 01:03:17 +0100 Subject: [PATCH] Fix code clarity --- src/rebar_otp_app.erl | 6 +++--- 1 file 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.