summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/generic-unix/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/generic-unix/Makefile b/packaging/generic-unix/Makefile
index f6fed64e..6de6ee36 100644
--- a/packaging/generic-unix/Makefile
+++ b/packaging/generic-unix/Makefile
@@ -12,9 +12,9 @@ dist:
MAN_DIR=`pwd`/$(TARGET_DIR)/share/man \
install
- sed -e 's:^SYS_PREFIX=$:SYS_PREFIX=\${RABBITMQ_HOME}:' \
- $(TARGET_DIR)/sbin/rabbitmq-defaults >$(TARGET_DIR)/sbin/rabbitmq-defaults.tmp \
- && mv $(TARGET_DIR)/sbin/rabbitmq-defaults.tmp $(TARGET_DIR)/sbin/rabbitmq-defaults
+ sed -e 's:^SYS_PREFIX=$$:SYS_PREFIX=\$${RABBITMQ_HOME}:' \
+ $(TARGET_DIR)/sbin/rabbitmq-defaults >$(TARGET_DIR)/sbin/rabbitmq-defaults.tmp \
+ && mv $(TARGET_DIR)/sbin/rabbitmq-defaults.tmp $(TARGET_DIR)/sbin/rabbitmq-defaults
mkdir -p $(TARGET_DIR)/etc/rabbitmq