Browse files

don't start connection in erldis application

  • Loading branch information...
1 parent 0e38493 commit d54d644acf6d1c73c32b7e002f7c661e4eff79fe @mabrek committed Feb 28, 2011
Showing with 14 additions and 1 deletion.
  1. +2 −1 deps/erldis/Makefile
  2. +12 −0 deps/erldis/dont-start-app.patch
View
3 deps/erldis/Makefile
@@ -30,7 +30,8 @@ $(LIB_PACKAGE_DIR): $(CHECKOUT_DIR)
$(CHECKOUT_DIR):
git clone $(GIT_UPSTREAM) $@-tmp
(cd $@-tmp; git checkout $(REVISION))
- cd $@-tmp && patch -p1 < ../rm-gen-server2.patch && cd .. && mv $@-tmp $@
+ cd $@-tmp && patch -p1 < ../rm-gen-server2.patch && \
+ patch -p1 < ../dont-start-app.patch && cd .. && mv $@-tmp $@
%.ez: $(LIB_PACKAGE_DIR)
$(MAKE) -C $(LIB_PACKAGE_DIR) clean all
View
12 deps/erldis/dont-start-app.patch
@@ -0,0 +1,12 @@
+diff --git a/ebin/erldis.app b/ebin/erldis.app
+index 5dd58a1..ca0d2d9 100644
+--- a/ebin/erldis.app
++++ b/ebin/erldis.app
+@@ -2,7 +2,6 @@
+ {description, "Erlang Redis application"},
+ {vsn, "0.3.2"},
+ {registered, [erldis_sup]},
+- {mod, {erldis_app, []}},
+ {applications, [kernel, stdlib]},
+ {modules, [
+ erldis_client, erldis, erldis_proto, erldis_app, erldis_sup,

0 comments on commit d54d644

Please sign in to comment.