From f333bc2a92111adc0f7aae2f73ca53940d44a14e Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Mon, 1 Feb 2010 09:29:13 -0700 Subject: [PATCH] Removing useless debug message and extraneous newline --- src/rebar_port_compiler.erl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl index a770eda..7ca968b 100644 --- a/src/rebar_port_compiler.erl +++ b/src/rebar_port_compiler.erl @@ -180,7 +180,6 @@ needs_compile(Source, Bin) -> filelib:last_modified(Bin) < filelib:last_modified(Source). needs_link(SoName, []) -> - ?DEBUG("2 Lad mod \n", []), filelib:last_modified(SoName) == 0; needs_link(SoName, NewBins) -> MaxLastMod = lists:max([filelib:last_modified(B) || B <- NewBins]), @@ -219,7 +218,6 @@ compiler(_) -> "$CC". %% it in InStr. References can have two forms: $FOO and ${FOO} %% expand_env_variable(InStr, VarName, VarValue) -> - R1 = re:replace(InStr, "\\\$" ++ VarName, VarValue), re:replace(R1, "\\\${" ++ VarName ++ "}", VarValue, [{return, list}]).