Use '' to protect backslashes in arguments rather than escaping. For parallel parsing. wip
authorraptorbot <raptorbot@systemstesthead.symbian.intra>
Mon, 18 Jan 2010 17:09:57 +0000
branchwip
changeset 134 2648751b64b4
parent 133 8184bb802ee1
child 135 0092642f198e
Use '' to protect backslashes in arguments rather than escaping. For parallel parsing.
sbsv2/raptor/python/raptor_make.py
--- a/sbsv2/raptor/python/raptor_make.py	Mon Jan 18 17:04:24 2010 +0000
+++ b/sbsv2/raptor/python/raptor_make.py	Mon Jan 18 17:09:57 2010 +0000
@@ -419,10 +419,8 @@
 			# Can supply options on the commandline to override default settings.
 			if len(self.raptor.makeOptions) > 0:
 				for o in self.raptor.makeOptions:
-					if o.find(";") != -1:
+					if o.find(";") != -1 or  o.find("\\") != -1:
 						command += "  " + "'" + o + "'"
-					elif o.find("\\") != -1:
-						command += "  " + o.replace("\\","\\\\")
 					else:
 						command += "  " + o