From 776d37c2d95da3cd992892b22e16bc117653cfd9 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Tue, 15 May 2012 18:13:43 +0300 Subject: [PATCH] buildpackage/git_archive_single: use GitRepository.archive() Use GitRepository.archive() method like git_archive_submodules() does. This makes it possible to call git_archive_single() independent of the callers current working directory. Signed-off-by: Markus Lehtonen Conflicts: gbp/scripts/common/buildpackage.py --- gbp/scripts/common/buildpackage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gbp/scripts/common/buildpackage.py b/gbp/scripts/common/buildpackage.py index f95837c..c34b491 100644 --- a/gbp/scripts/common/buildpackage.py +++ b/gbp/scripts/common/buildpackage.py @@ -19,6 +19,8 @@ """Common functionality for Debian and RPM buildpackage scripts""" import os, os.path +import pipes +import tempfile import subprocess import shutil -- 2.7.4