summaryrefslogtreecommitdiff
path: root/packaging/debs
diff options
context:
space:
mode:
authorDavid Wragg <dpw@lshift.net>2010-01-22 11:30:48 +0000
committerDavid Wragg <dpw@lshift.net>2010-01-22 11:30:48 +0000
commitbcec81d0c64799a7fdc6c24109bf8fc14a4c93b8 (patch)
treebef2d3114778911050accfda94de73a187b5697a /packaging/debs
parent617a495bbc2030644a04a7c58ba050109f38d48f (diff)
downloadrabbitmq-server-git-bcec81d0c64799a7fdc6c24109bf8fc14a4c93b8.tar.gz
Templatize rabbitmq-script-wrapper so that it works under OSX
Diffstat (limited to 'packaging/debs')
-rw-r--r--packaging/debs/Debian/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/debs/Debian/Makefile b/packaging/debs/Debian/Makefile
index dafaf9cef4..ab05f73225 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)