diff options
author | Bill Nottingham <notting@redhat.com> | 2009-04-30 13:25:40 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-04-30 13:25:40 -0400 |
commit | 89385ab41c09a8b4c8a630bfe385ea7a143e00ef (patch) | |
tree | 5ef142881544e2715330ae665eac596c667f79be /lang.sh | |
parent | 186630068911f23941310deee53191f17225c608 (diff) | |
download | initscripts-89385ab41c09a8b4c8a630bfe385ea7a143e00ef.tar initscripts-89385ab41c09a8b4c8a630bfe385ea7a143e00ef.tar.gz initscripts-89385ab41c09a8b4c8a630bfe385ea7a143e00ef.tar.bz2 initscripts-89385ab41c09a8b4c8a630bfe385ea7a143e00ef.tar.xz initscripts-89385ab41c09a8b4c8a630bfe385ea7a143e00ef.zip |
Handle spaces in $HOME. (#498482)
Diffstat (limited to 'lang.sh')
-rwxr-xr-x | lang.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |