chiark / gitweb /
dgit: import_tarball_tartrees: Honour Path in dfis
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 29 Jun 2019 17:02:59 +0000 (18:02 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Jun 2019 20:11:17 +0000 (21:11 +0100)
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>
dgit

diff --git a/dgit b/dgit
index 4844bfce36e0c3b3343da3fc907b7e4310760609..0d31724b549a8b2e803460239158808f668dd850 100755 (executable)
--- 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;