aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-23 18:47:21 +0300
committerLoïc Hoguin <[email protected]>2015-05-23 18:47:21 +0300
commit54794fd9a01668870e48a5a58b380bec4d6a9d18 (patch)
treeee4baaa75ddf00417f0b362e0a2dd7a4395aad78
parenta0a70ec49e428520b702ad9a8f50d05fd95f7c71 (diff)
downloaderlang.mk-54794fd9a01668870e48a5a58b380bec4d6a9d18.tar.gz
erlang.mk-54794fd9a01668870e48a5a58b380bec4d6a9d18.tar.bz2
erlang.mk-54794fd9a01668870e48a5a58b380bec4d6a9d18.zip
Don't patch plugin at all if not required
Remove riak_test from the index as it broke and the problem is larger than it looks.
-rw-r--r--core/deps.mk11
-rw-r--r--packages.v1.tsv1
-rw-r--r--packages.v1.txt1
-rw-r--r--packages.v2.tsv1
4 files changed, 7 insertions, 7 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 66936c1..bfd211c 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -367,10 +367,13 @@ define dep_autopatch_rebar.erl
Write("\ninclude ../../erlang.mk"),
PatchPlugin = fun(ErlFile) ->
{ok, F0} = file:read_file(ErlFile),
- F = re:replace(F0, "rebar_config:", "rebar_config_", [global]),
- ok = file:write_file(ErlFile, [F,
- "\nrebar_config_get(_, current_command, _) -> compile.\n"
- ])
+ case re:replace(F0, "rebar_config:", "rebar_config_", [global]) of
+ F0 -> ok;
+ F ->
+ ok = file:write_file(ErlFile, [F,
+ "\nrebar_config_get(_, current_command, _) -> compile.\n"
+ ])
+ end
end,
RunPlugin = fun(Plugin, Step) ->
case erlang:function_exported(Plugin, Step, 2) of
diff --git a/packages.v1.tsv b/packages.v1.tsv
index ab5e876..cf86ac0 100644
--- a/packages.v1.tsv
+++ b/packages.v1.tsv
@@ -307,7 +307,6 @@ riak_pg https://github.com/cmeiklejohn/riak_pg https://github.com/cmeiklejohn/ri
riak_pipe https://github.com/basho/riak_pipe https://github.com/basho/riak_pipe Riak Pipelines
riakpool https://github.com/dweldon/riakpool https://github.com/dweldon/riakpool erlang riak client pool
riak_sysmon https://github.com/basho/riak_sysmon https://github.com/basho/riak_sysmon Simple OTP app for managing Erlang VM system_monitor event messages
-riak_test https://github.com/basho/riak_test https://github.com/basho/riak_test I'm in your cluster, testing your riaks
rivus_cep https://github.com/vascokk/rivus_cep https://github.com/vascokk/rivus_cep Complex event processing in Erlang
rlimit https://github.com/jlouis/rlimit https://github.com/jlouis/rlimit Magnus Klaar's rate limiter code from etorrent
safetyvalve https://github.com/jlouis/safetyvalve https://github.com/jlouis/safetyvalve A safety valve for your erlang node
diff --git a/packages.v1.txt b/packages.v1.txt
index ab5e876..cf86ac0 100644
--- a/packages.v1.txt
+++ b/packages.v1.txt
@@ -307,7 +307,6 @@ riak_pg https://github.com/cmeiklejohn/riak_pg https://github.com/cmeiklejohn/ri
riak_pipe https://github.com/basho/riak_pipe https://github.com/basho/riak_pipe Riak Pipelines
riakpool https://github.com/dweldon/riakpool https://github.com/dweldon/riakpool erlang riak client pool
riak_sysmon https://github.com/basho/riak_sysmon https://github.com/basho/riak_sysmon Simple OTP app for managing Erlang VM system_monitor event messages
-riak_test https://github.com/basho/riak_test https://github.com/basho/riak_test I'm in your cluster, testing your riaks
rivus_cep https://github.com/vascokk/rivus_cep https://github.com/vascokk/rivus_cep Complex event processing in Erlang
rlimit https://github.com/jlouis/rlimit https://github.com/jlouis/rlimit Magnus Klaar's rate limiter code from etorrent
safetyvalve https://github.com/jlouis/safetyvalve https://github.com/jlouis/safetyvalve A safety valve for your erlang node
diff --git a/packages.v2.tsv b/packages.v2.tsv
index 78b349a..0184c07 100644
--- a/packages.v2.tsv
+++ b/packages.v2.tsv
@@ -307,7 +307,6 @@ riak_pg git https://github.com/cmeiklejohn/riak_pg master https://github.com/cme
riak_pipe git https://github.com/basho/riak_pipe master https://github.com/basho/riak_pipe Riak Pipelines
riakpool git https://github.com/dweldon/riakpool master https://github.com/dweldon/riakpool erlang riak client pool
riak_sysmon git https://github.com/basho/riak_sysmon master https://github.com/basho/riak_sysmon Simple OTP app for managing Erlang VM system_monitor event messages
-riak_test git https://github.com/basho/riak_test master https://github.com/basho/riak_test I'm in your cluster, testing your riaks
rivus_cep git https://github.com/vascokk/rivus_cep master https://github.com/vascokk/rivus_cep Complex event processing in Erlang
rlimit git https://github.com/jlouis/rlimit master https://github.com/jlouis/rlimit Magnus Klaar's rate limiter code from etorrent
safetyvalve git https://github.com/jlouis/safetyvalve master https://github.com/jlouis/safetyvalve A safety valve for your erlang node