summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2015-12-22 15:15:33 +0100
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2015-12-22 15:15:33 +0100
commit203fb23c10e4f0a4c9c87d0964ea3a275f57c266 (patch)
tree2b53cf6da2ef2c232979e0d7a65c0f2774dc886c /packaging
parentd70105e0ec914c6b7195de454e1132f6a9eba834 (diff)
downloadrabbitmq-server-git-203fb23c10e4f0a4c9c87d0964ea3a275f57c266.tar.gz
packaging: tar `-n` is not portable, use --no-recursion instead
Diffstat (limited to 'packaging')
-rw-r--r--packaging/generic-unix/Makefile3
-rw-r--r--packaging/standalone/Makefile3
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)"; \