/etc/profile: read and export LC_ALL

This commit is contained in:
Silvan Calarco 2011-06-07 17:33:06 +02:00
parent 030bee1abc
commit 06dc8880f9
2 changed files with 4 additions and 2 deletions

View File

@ -73,6 +73,7 @@ dist: clean
echo "ChangeLog not updated; not releasing" 1>&2;\ echo "ChangeLog not updated; not releasing" 1>&2;\
exit 1;; \ exit 1;; \
esac esac
@git log > ChangeLog.git
@rm -f $(dist_archive);\ @rm -f $(dist_archive);\
tar cf - --exclude=$(PACKAGE)*.bz2 -C .. $(distdir) |\ tar cf - --exclude=$(PACKAGE)*.bz2 -C .. $(distdir) |\
bzip2 -9 -c > $(dist_archive) bzip2 -9 -c > $(dist_archive)

View File

@ -1,6 +1,6 @@
# profile Default shell profile configuration # profile Default shell profile configuration
# #
# Copyright (c) 2003-2007 by Silvan Calarco <silvan.calarco@mambasoft.it> # Copyright (c) 2003-2011 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (c) 2003-2008 by Davide Madrisan <davide.madrisan@gmail.com> # Copyright (c) 2003-2008 by Davide Madrisan <davide.madrisan@gmail.com>
# #
# WARNING: # WARNING:
@ -8,7 +8,8 @@
if [ -r /etc/sysconfig/i18n ]; then if [ -r /etc/sysconfig/i18n ]; then
. /etc/sysconfig/i18n . /etc/sysconfig/i18n
export LANG [ "$LC_ALL" ] || LC_ALL=$LANG
export LANG LC_ALL
fi fi
if [ -r /etc/sysconfig/proxy ]; then if [ -r /etc/sysconfig/proxy ]; then