Author: olivier
Date: 2007-03-03 21:07:04 +0000 (Sat, 03 Mar 2007)
New Revision: 25080

Modified:
   xfce-utils/trunk/scripts/startxfce4.in
Log:
Fix an issue with the syntax in startxfce4 script (bug #2967)

Modified: xfce-utils/trunk/scripts/startxfce4.in
===================================================================
--- xfce-utils/trunk/scripts/startxfce4.in      2007-03-03 19:54:22 UTC (rev 
25079)
+++ xfce-utils/trunk/scripts/startxfce4.in      2007-03-03 21:07:04 UTC (rev 
25080)
@@ -19,14 +19,14 @@
 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #
 
-if test x"$XDG_CONFIG_HOME" = x""
+if test "x$XDG_CONFIG_HOME" = "x"
 then
-  BASEDIR=$HOME/.config/xfce4/
+  BASEDIR="$HOME/.config/xfce4/"
 else
-  BASEDIR=$XDG_CONFIG_HOME/xfce4
+  BASEDIR="$XDG_CONFIG_HOME/xfce4"
 fi
 
-if test x"$XDG_DATA_DIRS" = x""
+if test "x$XDG_DATA_DIRS" = "x"
 then
   XDG_DATA_DIRS="/usr/share:/usr/local/share:@datadir@"
 else
@@ -34,7 +34,7 @@
 fi
 export XDG_DATA_DIRS
 
-if test x"$DISPLAY" = x""
+if test "x$DISPLAY" = "x"
 then
   echo "$0: Starting X server"
   prog=xinit
@@ -43,10 +43,10 @@
   prog=/bin/sh
 fi
 
-if test ! x"$*" = x""
+if test ! "x$*" = "x"
 then
   OPT=$*
-  if test x"${OPT#*--}" = x"${OPT}"
+  if test "x${OPT#*--}" = "x${OPT}"
   then
     CLIENTRC=${OPT}
   else
@@ -61,7 +61,7 @@
   SERVERRC="/etc/X11/xinit/xserverrc $SERVERRC"
 fi
 
-if ! test x"$SERVERRC" = x""
+if ! test "x$SERVERRC" = "x"
 then
   SERVERRC="-- $SERVERRC"
 fi

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to