[arch-commits] Commit in filesystem/trunk (locale.sh)

Dave Reisner dreisner at archlinux.org
Sat Dec 13 15:11:28 UTC 2014


    Date: Saturday, December 13, 2014 @ 16:11:28
  Author: dreisner
Revision: 227582

quote expansions of HOME (FS#43033)

Modified:
  filesystem/trunk/locale.sh

-----------+
 locale.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: locale.sh
===================================================================
--- locale.sh	2014-12-13 14:36:55 UTC (rev 227581)
+++ locale.sh	2014-12-13 15:11:28 UTC (rev 227582)
@@ -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



More information about the arch-commits mailing list