makepkg: Use sorted inputs for source tarballs too

This commit is contained in:
Samuel Dionne-Riel 2024-12-14 02:19:57 -05:00 committed by Allan McRae
parent 46f7f6e9ac
commit 2bcdbc6a87

View file

@ -730,7 +730,8 @@ create_srcpackage() {
# TODO: Maybe this can be set globally for robustness
shopt -s -o pipefail
LANG=C bsdtar --no-fflags @BSDTAR_NO_READ_SPARSE@ -cLf - ${pkgbase} | compress_as "$SRCEXT" > "${pkg_file}" || ret=$?
list_package_files | LANG=C bsdtar --no-fflags @BSDTAR_NO_READ_SPARSE@ -cnLf - --null --files-from - |
compress_as "$SRCEXT" > "${pkg_file}" || ret=$?
shopt -u -o pipefail