diff --git a/locale.sh b/locale.sh index b665872036aca517c77ec72b0ee01e85bba1e31a..11b7dc9ec5241017038a97166490d6ead2ab3c0e 100644 --- a/locale.sh +++ b/locale.sh @@ -3,7 +3,7 @@ if [ -z "$LANG" ]; then if [ -n "$XDG_CONFIG_HOME" ] && [ -r "$XDG_CONFIG_HOME/locale.conf" ]; then . "$XDG_CONFIG_HOME/locale.conf" - elif [ -n $HOME ] && [ -r $HOME/.config/locale.conf ]; then + elif [ -n "$HOME" ] && [ -r "$HOME/.config/locale.conf" ]; then . "$HOME/.config/locale.conf" elif [ -r /etc/locale.conf ]; then . /etc/locale.conf