Only print LANG for interactive terminals
This commit is contained in:
parent
ed21638ed0
commit
9e1cd70e71
1 changed files with 7 additions and 1 deletions
|
@ -214,4 +214,10 @@ then
|
|||
. "$HOME/.bashrc.local"
|
||||
fi
|
||||
|
||||
echo "LANG=$LANG"
|
||||
case "$-" in
|
||||
*i*)
|
||||
echo "LANG=$LANG"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue