aboutsummaryrefslogtreecommitdiff
path: root/build2/dist/operation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/dist/operation.cxx')
-rw-r--r--build2/dist/operation.cxx3
1 files changed, 3 insertions, 0 deletions
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 (),