summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-29 18:02:59 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-30 21:11:17 +0100
commita1d908d84d83f9e8ec1363002b3339f96a0c10b9 (patch)
tree8796013c0c0ff8a5fa7e849cd9ec6bd348b62bfa /dgit
parent73a3e81c4f70c97c3f8f061d73369e5f1c3ccc2d (diff)
dgit: import_tarball_tartrees: Honour Path in dfis
These do not appear in information collected from a .dsc; in that case, the files are arranged to be in the playground where they can be simply picked up. But we are going to want to direct import_tarball_tartrees to tarballs found elsewhere. No functional change with the current sources of dfi information. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit1
1 files changed, 1 insertions, 0 deletions
diff --git a/dgit b/dgit
index 4844bfc..0d31724 100755
--- a/dgit
+++ b/dgit
@@ -2302,6 +2302,7 @@ sub import_tarball_tartrees ($$) {
$compr_ext, $orig_f_part
), "\n";
+ my $path = $fi->{Path} // $f;
my $input = new IO::File $f, '<' or die "$f $!";
my $compr_pid;
my @compr_cmd;