From f2629181162fb7c4c0e6e5f79de24c7f24a25df8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Sat, 28 Jan 2012 21:08:34 +0100 Subject: [PATCH] PristineTar: make sure we set the current working directory otherwise this will fail when invoked from outside the git tree --- gbp/deb/pristinetar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gbp/deb/pristinetar.py b/gbp/deb/pristinetar.py index 4478ad4..56bff6a 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): """ -- 2.7.4