changeset 660:3a7a1ca990ff

0.6dev: Follow-up to [685] where backslashes of `${basedir}` (ie. Windows) would disappear without double escaping.
author osimons
date Fri, 28 Aug 2009 12:30:24 +0000
parents 075087a17f06
children 8931a5ebdc7a
files bitten/recipe.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/recipe.py
+++ b/bitten/recipe.py
@@ -58,7 +58,7 @@
         self.output = []
         self.basedir = os.path.realpath(self.config.interpolate(basedir,
                                                                 **self.vars))
-        self.vars['basedir'] = self.basedir
+        self.vars['basedir'] = self.basedir.replace('\\', '\\\\')
 
     def run(self, step, namespace, name, attr):
         """Run the specified recipe command.
Copyright (C) 2012-2017 Edgewall Software