This patch seems to do the trick for me:

----- BEGIN CUT HERE -----
--- rubber/rules/latex/__init__.py.old  2007-03-12 00:01:34.000000000 +0100
+++ rubber/rules/latex/__init__.py      2007-03-12 00:00:52.000000000 +0100
@@ -1107,7 +1107,8 @@
 
                file = self.source()
                cmd = [self.vars["program"]]
-               cmd += map(lambda x: x.replace("%s",file), self.cmdline)
+               quoted_file = '"%s"' % file
+               cmd += map(lambda x: x.replace("%s", quoted_file), self.cmdline)
                inputs = string.join(self.env.path, ":")
                if inputs == "":
                        env = {}
----- END CUT HERE -----

  mvrgr, Wouter

-- 
:wq                                                       mail [EMAIL PROTECTED]
                                                      web http://uwstopia.nl

who's gonna take it like this? :: no way :: you are, you are        -- gomez

Attachment: signature.asc
Description: Digital signature

Reply via email to