changeset 50:a39959f8c0a5

now properties get set correctly and all that
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 10 Jan 2011 12:24:00 -0800
parents 5e14fe86bc52
children de3d2320df90
files autobot/process/factory.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/process/factory.py	Mon Jan 10 12:17:57 2011 -0800
+++ b/autobot/process/factory.py	Mon Jan 10 12:24:00 2011 -0800
@@ -37,10 +37,10 @@
     # - python location
     self.addStep(SetProperty(property='virtualenv',
                              command=['pwd'],
-                             workdir=name))
+                             workdir='build/'+name))
     self.addStep(SetProperty(property='scripts',
                              command=find('Scripts', 'bin'),
-                             workdir=name))
+                             workdir=WithProperties('%(virtualenv)s')))
     self.addStep(SetProperty(property='python',
                              workdir=WithProperties('%(virtualenv)s/%(scripts)s'),
                              command=find('python', 'python.exe')))