From: Simon Ruderich Date: Wed, 27 Mar 2013 16:47:06 +0000 (+0100) Subject: crontab.d/update.sh: Use C sort order when reading files. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=749d4711a8d98f6102668dc3e186c639f7f50db2;p=config%2Fdotfiles.git crontab.d/update.sh: Use C sort order when reading files. --- 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