summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2010-02-01 09:29:13 -0700
committerDave Smith <dizzyd@dizzyd.com>2010-02-01 09:29:13 -0700
commitf333bc2a92111adc0f7aae2f73ca53940d44a14e (patch)
treeeef7311152d0d775211222d7b189b6a7a691272e /src
parentb9e78d6722b8b723782de19b3cf54af253273270 (diff)
Removing useless debug message and extraneous newline
Diffstat (limited to 'src')
-rw-r--r--src/rebar_port_compiler.erl2
1 files changed, 0 insertions, 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}]).