Alex Beckert wrote:
> There is a "sort" missing after "LC_ALL=C".
Whoops. Updated patch attached. Thanks!
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..b46b512 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 sort); do
no_dir="${type#man7/}";
no_type="${no_dir#cdist-type}";
name="${no_type%.text}";