]> git.decadent.org.uk Git - dak.git/commitdiff
back to ./ for tarballs
authorMike O'Connor <stew@vireo.org>
Fri, 13 Mar 2009 07:21:38 +0000 (03:21 -0400)
committerMike O'Connor <stew@vireo.org>
Fri, 13 Mar 2009 07:21:38 +0000 (03:21 -0400)
Signed-off-by: Mike O'Connor <stew@vireo.org>
daklib/binary.py

index 3137e22953ab56805b9ac0e3a5965f701c795747..a81f428f06ca9902ad699de9b3a5e8bd6d72f29e 100755 (executable)
@@ -156,7 +156,7 @@ class Binary(object):
                 os.chdir(self.tmpdir)
                 if self.chunks[1] == "control.tar.gz":
                     control = tarfile.open(os.path.join(self.tmpdir, "control.tar.gz" ), "r:gz")
-                    control.extract('control', self.tmpdir )
+                    control.extract('./control', self.tmpdir )
                 if self.chunks[2] == "data.tar.gz":
                     data = tarfile.open(os.path.join(self.tmpdir, "data.tar.gz"), "r:gz")
                 elif self.chunks[2] == "data.tar.bz2":