r2082 - in trunk: . data

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Dec 31 07:51:29 EST 2006


Author: div0
Date: 2006-12-31 07:51:29 -0500 (Sun, 31 Dec 2006)
New Revision: 2082

Modified:
   trunk/data/default.cfg
   trunk/nexuiz-linux-glx.sh
   trunk/nexuiz-linux-sdl.sh
Log:
changing separator to / to work around startx bug


Modified: trunk/data/default.cfg
===================================================================
--- trunk/data/default.cfg	2006-12-31 12:31:38 UTC (rev 2081)
+++ trunk/data/default.cfg	2006-12-31 12:51:29 UTC (rev 2082)
@@ -86,7 +86,7 @@
 // This can have three possible settings:
 //   ""            run as usual
 //   ":n"          use DISPLAY=:n, create it if needed
-//   ":n layout"   use DISPLAY=:n, create it if needed with ServerLayout layout
+//   ":n/layout"   use DISPLAY=:n, create it if needed with ServerLayout layout
 
 // server settings
 seta hostname "Nexuiz Server"

Modified: trunk/nexuiz-linux-glx.sh
===================================================================
--- trunk/nexuiz-linux-glx.sh	2006-12-31 12:31:38 UTC (rev 2081)
+++ trunk/nexuiz-linux-glx.sh	2006-12-31 12:51:29 UTC (rev 2082)
@@ -28,11 +28,11 @@
 			VALUE=:$VALUE
 			;;
 	esac
-	VALUE="$VALUE "
-	xserver="${VALUE%% *}"
+	VALUE="$VALUE/"
+	xserver="${VALUE%%/*}"
 	xserver=${xserver#:}
-	xlayout=${VALUE#* }
-	xlayout=${xlayout% }
+	xlayout=${VALUE#*/}
+	xlayout=${xlayout%/}
 }
 
 # now how do we execute it?

Modified: trunk/nexuiz-linux-sdl.sh
===================================================================
--- trunk/nexuiz-linux-sdl.sh	2006-12-31 12:31:38 UTC (rev 2081)
+++ trunk/nexuiz-linux-sdl.sh	2006-12-31 12:51:29 UTC (rev 2082)
@@ -28,11 +28,11 @@
 			VALUE=:$VALUE
 			;;
 	esac
-	VALUE="$VALUE "
-	xserver="${VALUE%% *}"
+	VALUE="$VALUE/"
+	xserver="${VALUE%%/*}"
 	xserver=${xserver#:}
-	xlayout=${VALUE#* }
-	xlayout=${xlayout% }
+	xlayout=${VALUE#*/}
+	xlayout=${xlayout%/}
 }
 
 # now how do we execute it?




More information about the nexuiz-commits mailing list