From: Don Armstrong Date: Mon, 15 May 2006 17:10:06 +0000 (+0000) Subject: fix bash_profile so it stops screwing up with en_US has not been built X-Git-Url: https://git.donarmstrong.com/?p=home-base.git;a=commitdiff_plain;h=637aefc2a4f6351380de07cb7153b4bd8b7c2709;ds=sidebyside fix bash_profile so it stops screwing up with en_US has not been built --- diff --git a/.bash_profile b/.bash_profile index 4e21948..378e08f 100644 --- a/.bash_profile +++ b/.bash_profile @@ -22,6 +22,10 @@ fi # MANPATH=~/man:"${MANPATH}" #fi -LANG="en_US.UTF-8" +if locale -a |grep -qi en_US.utf8; then + LANG="en_US.UTF-8" +else + LANG=C +fi; export LANG