From 06dc8880f9408b2d81517f8fc714a8bf1593f75c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 7 Jun 2011 17:33:06 +0200 Subject: [PATCH] /etc/profile: read and export LC_ALL --- Makefile | 1 + config/profile | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c19a131..ccaac85 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,7 @@ dist: clean echo "ChangeLog not updated; not releasing" 1>&2;\ exit 1;; \ esac + @git log > ChangeLog.git @rm -f $(dist_archive);\ tar cf - --exclude=$(PACKAGE)*.bz2 -C .. $(distdir) |\ bzip2 -9 -c > $(dist_archive) diff --git a/config/profile b/config/profile index f7031db..0b8210e 100644 --- a/config/profile +++ b/config/profile @@ -1,6 +1,6 @@ # profile Default shell profile configuration # -# Copyright (c) 2003-2007 by Silvan Calarco +# Copyright (c) 2003-2011 by Silvan Calarco # Copyright (c) 2003-2008 by Davide Madrisan # # WARNING: @@ -8,7 +8,8 @@ if [ -r /etc/sysconfig/i18n ]; then . /etc/sysconfig/i18n - export LANG + [ "$LC_ALL" ] || LC_ALL=$LANG + export LANG LC_ALL fi if [ -r /etc/sysconfig/proxy ]; then