summaryrefslogtreecommitdiff
path: root/obbench
diff options
context:
space:
mode:
Diffstat (limited to 'obbench')
-rwxr-xr-xobbench2
1 files changed, 1 insertions, 1 deletions
diff --git a/obbench b/obbench
index 32418a8..63cce31 100755
--- a/obbench
+++ b/obbench
@@ -54,7 +54,7 @@ class ObnamBenchmarker(cliapp.Application):
def clone_or_update_git(self, statedir, spec):
gitdir = self.gitdir(statedir)
if os.path.exists(gitdir):
- cliapp.runcmd(['git', 'pull'])
+ cliapp.runcmd(['git', 'pull'], cwd=gitdir)
else:
cliapp.runcmd(['git', 'clone', spec['git'], gitdir])