gdm r6624 - in branches/gnome-2-20: . config



Author: bcameron
Date: Sun Dec  7 19:23:35 2008
New Revision: 6624
URL: http://svn.gnome.org/viewvc/gdm?rev=6624&view=rev

Log:
2008-12-07 Brian Cameron <brian cameron sun com>

        * config/Init.in: Fix underquoted strings, refer to bug #563550.
          Patch by Pacho Ramos <pacho condmat1 ciencias uniovi es>


Modified:
   branches/gnome-2-20/ChangeLog
   branches/gnome-2-20/config/Init.in

Modified: branches/gnome-2-20/config/Init.in
==============================================================================
--- branches/gnome-2-20/config/Init.in	(original)
+++ branches/gnome-2-20/config/Init.in	Sun Dec  7 19:23:35 2008
@@ -32,8 +32,8 @@
 sysmodmap=/etc/X11/Xmodmap
 
 XMODMAP=`gdmwhich xmodmap`
-if [ x$XMODMAP != x ] ; then
-  if [ x$GDM_PARENT_DISPLAY = x ]; then
+if [ "x$XMODMAP" != "x" ] ; then
+  if [ "x$GDM_PARENT_DISPLAY" = "x" ]; then
     if [ -f $sysmodmap ]; then
       $XMODMAP $sysmodmap
     fi
@@ -47,7 +47,7 @@
 
   UNAME=`gdmwhich uname`
   PROCESSOR=`$UNAME -p`
-  if [ x$PROCESSOR = xsparc ]; then
+  if [ "x$PROCESSOR" = "xsparc" ]; then
     if $XMODMAP | /usr/bin/grep mod4 | /usr/bin/grep Alt > /dev/null 2>/dev/null
     then
       $XMODMAP -e "clear Mod1" \
@@ -61,7 +61,7 @@
 fi
 
 SETXKBMAP=`gdmwhich setxkbmap`
-if [ x$SETXKBMAP != x ] ; then
+if [ "x$SETXKBMAP" != "x" ] ; then
   # FIXME: is this all right?  Is this completely on crack?
   # What this does is move the xkb configuration from the GDM_PARENT_DISPLAY
   # FIXME: This should be done in code.  Or there must be an easier way ...



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]