summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/macports/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/macports/Makefile b/packaging/macports/Makefile
index 73254532e0..6578ce7dcc 100644
--- a/packaging/macports/Makefile
+++ b/packaging/macports/Makefile
@@ -43,8 +43,7 @@ macports: dirs $(DEST)/Portfile
# vars get preserved. Erlang needs vars such as HOME to be
# set. So we have to set them explicitly. Note that the IFS
# value is "<space><tab><newline>"
- sed -i -e 's|@SU_RABBITMQ_SH_C@|SHELL=/bin/sh HOME=/var/lib/rabbitmq IFS=" \\\
-" USER=rabbitmq LOGNAME=rabbitmq PATH="$$(eval `PATH=MACPORTS_PREFIX/bin /usr/libexec/path_helper -s`; echo $$PATH)" su -m rabbitmq -c|' \
+ sed -i -e 's|@SU_RABBITMQ_SH_C@|SHELL=/bin/sh HOME=/var/lib/rabbitmq USER=rabbitmq LOGNAME=rabbitmq PATH="$$(eval `PATH=MACPORTS_PREFIX/bin /usr/libexec/path_helper -s`; echo $$PATH)" su -m rabbitmq -c|' \
$(DEST)/files/rabbitmq-script-wrapper
cp patch-org.macports.rabbitmq-server.plist.diff $(DEST)/files
if [ -n "$(MACPORTS_USERHOST)" ] ; then \