From 8818d2fece0a0aef6ec26e49a9ff9c586b33b8be Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Thu, 26 May 2016 18:48:29 +0100 Subject: [PATCH] Ensure build of reference documentation is reproducible. Signed-off-by: Chris Lamb --- docs/man/cdist-reference.rst.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/man/cdist-reference.rst.sh b/docs/man/cdist-reference.rst.sh index ae73169e..132d37b4 100755 --- a/docs/man/cdist-reference.rst.sh +++ b/docs/man/cdist-reference.rst.sh @@ -49,7 +49,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 ) @@ -157,7 +157,7 @@ The following types are available: eof -for type in man7/cdist-type__*.rst; do +for type in $(ls man7/cdist-type__*.rst | LC_ALL=C sort); do no_dir="${type#man7/}"; no_type="${no_dir#cdist-type}"; name="${no_type%.rst}";