Skip to content

Commit 9660a7f

Browse files
authored
makedist: Use fixed sort in generated tarball (#10615)
Instead of some undefined order, the files will now be includes in alphabetical order to make the tarball more reproducible.
1 parent 8c87a5c commit 9660a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dev/makedist

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ cd ..
175175

176176
echo ""
177177
echo "makedist: Creating $prefix.tar archive."
178-
"$tar" cf "$prefix".tar --owner=0 --group=0 --numeric-owner "$prefix"
178+
"$tar" cf "$prefix".tar --owner=0 --group=0 --numeric-owner --sort=name "$prefix"
179179
rm -rf "$prefix" "$prefix".tar.*
180180

181181
echo "makedist: Creating $prefix.tar.gz archive."

0 commit comments

Comments
 (0)