makepkg: Use sorted inputs for source tarballs too

This commit is contained in:
Samuel Dionne-Riel 2024-12-14 02:19:57 -05:00
parent af68f192af
commit 63e99312c2

View file

@ -739,7 +739,8 @@ create_srcpackage() {
# TODO: Maybe this can be set globally for robustness # TODO: Maybe this can be set globally for robustness
shopt -s -o pipefail 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 shopt -u -o pipefail