From 181e25632544f4970036b2bfbcda517411faf6c7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 21 May 2019 11:36:05 +0200 Subject: Use POSIX tar format (ustar) when archiving distributions --- build2/dist/operation.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build2/dist/operation.cxx b/build2/dist/operation.cxx index 8490db4..fddfcea 100644 --- a/build2/dist/operation.cxx +++ b/build2/dist/operation.cxx @@ -581,6 +581,7 @@ namespace build2 nullptr)) { args = {"tar", + "--format", "ustar", "-cf", "-", pkg.c_str (), nullptr}; @@ -604,11 +605,13 @@ namespace build2 } else if (e == "tar") args = {"tar", + "--format", "ustar", "-cf", ap.string ().c_str (), pkg.c_str (), nullptr}; else args = {"tar", + "--format", "ustar", "-a", "-cf", ap.string ().c_str (), pkg.c_str (), -- cgit v1.1