# HG changeset patch # User raptorbot # Date 1263834597 0 # Node ID 2648751b64b4dcbe93cbecdc660fcb30f6012f88 # Parent 8184bb802ee1d5851217a867d13086b236172fca Use '' to protect backslashes in arguments rather than escaping. For parallel parsing. diff -r 8184bb802ee1 -r 2648751b64b4 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