mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
makedist: Use fixed owner/group in generated tarball (#10613)
This reduces the amount of system-dependent data within the tarball and makes it more reproducible. Instead of the information of the release manager that generates the tarball, the tarball will include the fixed 0:0 value as owner:group.
This commit is contained in:
@@ -175,7 +175,7 @@ cd ..
|
||||
|
||||
echo ""
|
||||
echo "makedist: Creating $prefix.tar archive."
|
||||
"$tar" cf "$prefix".tar "$prefix"
|
||||
"$tar" cf "$prefix".tar --owner=0 --group=0 --numeric-owner "$prefix"
|
||||
rm -rf "$prefix" "$prefix".tar.*
|
||||
|
||||
echo "makedist: Creating $prefix.tar.gz archive."
|
||||
|
||||
Reference in New Issue
Block a user