diff options
Diffstat (limited to 'fedpkg-make-pull')
| -rwxr-xr-x | fedpkg-make-pull | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fedpkg-make-pull b/fedpkg-make-pull index 026a053..39f0f15 100755 --- a/fedpkg-make-pull +++ b/fedpkg-make-pull @@ -52,6 +52,7 @@ class Vcs(object): pass def _vcs_exec(self, *args, **kwargs): + print "Running: %r" % (args[0], ) kwargs['stdout'] = sys.stdout kwargs['stderr'] = subprocess.STDOUT subprocess.check_call(*args, **kwargs) @@ -71,7 +72,7 @@ class GitVcs(Vcs): def checkout(self, destdir): self._vcs_exec(['git', 'clone', '--depth=1', self._nonfragment_url_string, destdir]) if self._branch: - self._vcs_exec(['git', 'checkout', self._branch], cwd=directory) + self._vcs_exec(['git', 'checkout', self._branch], cwd=destdir) def update(self, directory): if self._branch: |
