Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
need to set working folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Groszer committed Jan 21, 2013
1 parent 991f8f9 commit 1f75e8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/zope/wineggbuilder/base.py
Expand Up @@ -71,7 +71,9 @@ def __init__(self, exitOnError=True):

def clone(self, url, folder):
command = 'git clone %s %s' % (url, folder)
return self.cmd.do(command)
r = self.cmd.do(command)
self.cmd.cwd = folder # hackish attempt to constrain commands to cwd
return r

def checkout(self, branch):
command = 'git checkout %s' % branch
Expand Down

0 comments on commit 1f75e8a

Please sign in to comment.