From baeb3e114e6a4ba617c8fb2339f7f3bb3b560bcb Mon Sep 17 00:00:00 2001 From: David Wragg Date: Fri, 22 Jan 2010 11:30:48 +0000 Subject: Templatize rabbitmq-script-wrapper so that it works under OSX --- packaging/debs/Debian/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packaging/debs') diff --git a/packaging/debs/Debian/Makefile b/packaging/debs/Debian/Makefile index dafaf9ce..ab05f732 100644 --- a/packaging/debs/Debian/Makefile +++ b/packaging/debs/Debian/Makefile @@ -26,6 +26,8 @@ package: clean -e 's|^DEFAULTS_FILE=.*$$|DEFAULTS_FILE=/etc/default/rabbitmq|' \ -e 's|^LOCK_FILE=.*$$|LOCK_FILE=|' \ $(UNPACKED_DIR)/debian/rabbitmq-server.init + sed -i -e 's|@SU_RABBITMQ_SH_C@|su rabbitmq -s /bin/sh -c|' \ + $(UNPACKED_DIR)/debian/rabbitmq-script-wrapper chmod a+x $(UNPACKED_DIR)/debian/rules UNOFFICIAL_RELEASE=$(UNOFFICIAL_RELEASE) VERSION=$(VERSION) ./check-changelog.sh rabbitmq-server $(UNPACKED_DIR) cd $(UNPACKED_DIR); GNUPGHOME=$(GNUPG_PATH)/.gnupg dpkg-buildpackage -rfakeroot $(SIGNING) -- cgit v1.2.1