Fix indentation errors

This commit is contained in:
Tuncer Ayaz 2011-05-21 16:46:55 +02:00
parent b885b4dbfb
commit 39f8b344bc

View file

@ -116,13 +116,14 @@ compile(Config, AppFile) ->
%% and list of new binaries %% and list of new binaries
lists:foreach( lists:foreach(
fun({SoName,Bins}) -> fun({SoName,Bins}) ->
AllBins = [sets:from_list(Bins), sets:from_list(NewBins)], AllBins = [sets:from_list(Bins),
Intersection = sets:intersection(AllBins), sets:from_list(NewBins)],
case needs_link(SoName, sets:to_list(Intersection)) of NewBins1 = sets:intersection(AllBins),
case needs_link(SoName, sets:to_list(NewBins1)) of
true -> true ->
rebar_utils:sh( Fmt = "$CC ~s $LDFLAGS $DRV_LDFLAGS -o ~s",
?FMT("$CC ~s $LDFLAGS $DRV_LDFLAGS -o ~s", Vars = [string:join(Bins, " "), SoName],
[string:join(Bins, " "), SoName]), rebar_utils:sh(?FMT(Fmt, Vars),
[{env, Env}]); [{env, Env}]);
false -> false ->
?INFO("Skipping relink of ~s\n", [SoName]), ?INFO("Skipping relink of ~s\n", [SoName]),