Source: cdist
Version: 4.0.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: ordering
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the "reproducible builds" effort [0], we noticed that cdist
could not be built reproducibly.
Patch attached.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/docs/man/cdist-reference.text.sh b/docs/man/cdist-reference.text.sh
index 0aaaec0..163dad5 100755
--- a/docs/man/cdist-reference.text.sh
+++ b/docs/man/cdist-reference.text.sh
@@ -51,7 +51,7 @@ The following global explorers are available:
eof
(
cd ../../cdist/conf/explorer
- for explorer in *; do
+ for explorer in $(ls * | LC_ALL=C sort); do
echo "- $explorer"
done
)
@@ -159,7 +159,7 @@ The following types are available:
eof
-for type in man7/cdist-type__*.text; do
+for type in $(ls man7/cdist-type__*.text | LC_ALL=C); do
no_dir="${type#man7/}";
no_type="${no_dir#cdist-type}";
name="${no_type%.text}";