diff options
| -rw-r--r-- | packaging/generic-unix/Makefile | 3 | ||||
| -rw-r--r-- | packaging/standalone/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packaging/generic-unix/Makefile b/packaging/generic-unix/Makefile index 967db41397..bdaed9c540 100644 --- a/packaging/generic-unix/Makefile +++ b/packaging/generic-unix/Makefile @@ -43,7 +43,8 @@ dist: mkdir -p $(TARGET_DIR)/etc/rabbitmq find $(TARGET_DIR) -print0 | LC_COLLATE=C sort -z | \ - xargs -0 tar -cnf - | xz > $(CURDIR)/$(TARGET_TARBALL).tar.xz + xargs -0 tar --no-recursion -cf - | \ + xz > $(CURDIR)/$(TARGET_TARBALL).tar.xz if test "$(PACKAGES_DIR)"; then \ mkdir -p "$(PACKAGES_DIR)"; \ diff --git a/packaging/standalone/Makefile b/packaging/standalone/Makefile index 578ed57345..b86af40ca6 100644 --- a/packaging/standalone/Makefile +++ b/packaging/standalone/Makefile @@ -94,7 +94,8 @@ dist: cd $(TARGET_DIR)/release && \ find $(TARGET_DIR) -print0 | LC_COLLATE=C sort -z | \ - xargs -0 tar -cnf - | xz > $(CURDIR)/$(TARGET_TARBALL).tar.xz + xargs -0 tar --no-recursion -cf - | \ + xz > $(CURDIR)/$(TARGET_TARBALL).tar.xz if test "$(PACKAGES_DIR)"; then \ mkdir -p "$(PACKAGES_DIR)"; \ |
