summaryrefslogtreecommitdiff
path: root/gbp/deb
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-01-28 21:08:34 +0100
committerGuido Günther <agx@sigxcpu.org>2012-01-30 12:34:49 +0100
commitf2629181162fb7c4c0e6e5f79de24c7f24a25df8 (patch)
treefa360354babba41b1cf2d9285ffdefe9e49abb97 /gbp/deb
parent32681de84b59d8616a61ac062831c618f8880db1 (diff)
downloadgit-buildpackage-f2629181162fb7c4c0e6e5f79de24c7f24a25df8.tar.gz
git-buildpackage-f2629181162fb7c4c0e6e5f79de24c7f24a25df8.tar.bz2
git-buildpackage-f2629181162fb7c4c0e6e5f79de24c7f24a25df8.zip
PristineTar: make sure we set the current working directory
otherwise this will fail when invoked from outside the git tree
Diffstat (limited to 'gbp/deb')
-rw-r--r--gbp/deb/pristinetar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/deb/pristinetar.py b/gbp/deb/pristinetar.py
index 4478ad42..56bff6a7 100644
--- a/gbp/deb/pristinetar.py
+++ b/gbp/deb/pristinetar.py
@@ -27,7 +27,7 @@ class PristineTar(Command):
def __init__(self, repo):
self.repo = repo
- super(PristineTar, self).__init__(self.cmd)
+ super(PristineTar, self).__init__(self.cmd, cwd=repo.path)
def has_commit(self, package, version, comp_type=None):
"""