Browse Source

Improve the RabbitMQ client patch

Users need to deploy both client and server to production,
therefore the server needs to be fetched and its folder
named correctly.
Loïc Hoguin 10 years ago
parent
commit
4d1e0ead6c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/deps.mk

+ 2 - 1
core/deps.mk

@@ -531,7 +531,8 @@ ifeq ($(filter $(1),$(NO_AUTOPATCH)),)
 	@if [ "$(RABBITMQ_CLIENT_PATCH)" ]; then \
 		echo " PATCH  Downloading extra RabbitMQ repositories..."; \
 		git clone https://github.com/rabbitmq/rabbitmq-codegen.git $(DEPS_DIR)/rabbitmq-codegen; \
-		git clone https://github.com/rabbitmq/rabbitmq-server.git $(DEPS_DIR)/rabbitmq-server; \
+		git clone https://github.com/rabbitmq/rabbitmq-server.git $(DEPS_DIR)/rabbit; \
+		ln -s $(DEPS_DIR)/rabbit $(DEPS_DIR)/rabbitmq-server; \
 	else \
 		$(call dep_autopatch,$(1)) \
 	fi