Commit ea8c8bd9 authored by Filippo Rusconi's avatar Filippo Rusconi

Fix a non-reproducible build failure.

parent 979c65fa
......@@ -21,6 +21,22 @@ cat ../../topp.1-top-skel > ${manPage}
# new binary is dealt with, we create a corresponding link in
# ${debLinkFile}, as each binary must have a corresponding man page.
# Make sure we set a collation order so that it does not vary depending on the
# systems the package is built (this ensure reproducible builds).
# See https://tests.reproducible-builds.org/debian/issues/collation_order_varies_by_locale_issue.html
# And the report for the reproducible build failure.
#
#
# Comments: readdir() order dependency:
# https://sources.debian.net/src/openms/2.0.0-4/debian/binaries-extract-one-line-man-desc.sh/#L24-L29
#
# The «*» on the find(1) command line may introduce a locale dependency (shell
# globs are expanded in a locale-sensitive sorted order), depending on the names
# of immediate children of ${binDir} (to which the script cd's).
LC_COLLATE=C.UTF-8
export LC_COLLATE
for file in $(find * -type f -executable -print | grep -v ^Tutorial)
do
# The man page itself
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment