echo >> "$CRONTAB"
echo "# It was generated from '$DIRECTORY/*' on `date -R`." >> "$CRONTAB"
-# Enforce C sort order ($LANGUAGE is a GNU extension).
+# Enforce C sort order.
LC_ALL=C
-LANGUAGE=C
NO_MATCHES=
for file in "$DIRECTORY"/crontab.*; do
LANG=en_US.UTF-8
export LANG
+# Make sure $LANGUAGE is not set. It's a GNU extension which can overwrite
+# variables like $LANG or $LC_ALL.
+unset LANGUAGE
+
# Add ~/bin and ~/.bin and ~/.shell/bin to PATH if available.
if test -d "$HOME/.shell/bin"; then
PATH="$HOME/.shell/bin:$PATH"