aboutsummaryrefslogtreecommitdiffstats
path: root/lang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lang.sh')
-rwxr-xr-xlang.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang.sh b/lang.sh
index 9fe22d8a..5be62ad8 100755
--- a/lang.sh
+++ b/lang.sh
@@ -4,11 +4,11 @@ sourced=0
if [ -n "$LANG" ]; then
saved_lang="$LANG"
- [ -f $HOME/.i18n ] && . $HOME/.i18n && sourced=1
+ [ -f "$HOME/.i18n" ] && . "$HOME/.i18n" && sourced=1
LANG="$saved_lang"
unset saved_lang
else
- for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do
+ for langfile in /etc/sysconfig/i18n "$HOME/.i18n" ; do
[ -f $langfile ] && . $langfile && sourced=1
done
fi