From 749d4711a8d98f6102668dc3e186c639f7f50db2 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 27 Mar 2013 17:47:06 +0100 Subject: [PATCH] crontab.d/update.sh: Use C sort order when reading files. --- crontab.d/update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crontab.d/update.sh b/crontab.d/update.sh index ca08be1..ebffb99 100755 --- a/crontab.d/update.sh +++ b/crontab.d/update.sh @@ -52,6 +52,9 @@ echo "###################################" >> "$CRONTAB" echo >> "$CRONTAB" echo "# It was generated from '$DIRECTORY/*' on `date -R`." >> "$CRONTAB" +# Enforce C sort order ($LANGUAGE is a GNU extension). +LC_ALL=C +LANGUAGE=C NO_MATCHES= for file in "$DIRECTORY"/crontab.*; do -- 2.45.2