[geos-commits] r2648 - trunk/tests/xmltester

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Oct 1 05:02:00 EDT 2009


Author: strk
Date: 2009-10-01 05:01:59 -0400 (Thu, 01 Oct 2009)
New Revision: 2648

Modified:
   trunk/tests/xmltester/safe_to_xml.sh
Log:
Better parse style parameter


Modified: trunk/tests/xmltester/safe_to_xml.sh
===================================================================
--- trunk/tests/xmltester/safe_to_xml.sh	2009-10-01 08:46:35 UTC (rev 2647)
+++ trunk/tests/xmltester/safe_to_xml.sh	2009-10-01 09:01:59 UTC (rev 2648)
@@ -67,7 +67,8 @@
 
 	elif test "${lbl}" = "Buffer Style"; then
 
-		if test "${val}" = "RIGHT_SIDE_ONLY"; then
+      # No quotes around ${val} is intentional, to trim blanks
+		if test ${val} = "RIGHT_SIDE_ONLY"; then
 			style=right
 		else
 			style=left



More information about the geos-commits mailing list