diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-12-27 12:41:15 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-12-27 12:41:15 +0100 |
commit | 590427134c42808afaea5f0dcbb12a80d80bacd3 (patch) | |
tree | add79bb740dbafc240432b5e5e850bfc8d13f8a7 | |
parent | cd2922a05e9ee792c98caca0b1ecfaf6c308c1fd (diff) | |
download | obnam-benchmarks-590427134c42808afaea5f0dcbb12a80d80bacd3.tar.gz |
Run "git clone" in gitdir, not .
-rwxr-xr-x | obbench | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) |