Pārlūkot izejas kodu

Dpkg::Source::Package::V2: Import make_path from File::Path

Regression introduced in commit 5e59d94a17051b1185c591a1fc3eed00e3b01070.

Closes: #789957
Guillem Jover 11 gadi atpakaļ
vecāks
revīzija
81b7b5c343
2 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 2 0
      debian/changelog
  2. 1 1
      scripts/Dpkg/Source/Package/V2.pm

+ 2 - 0
debian/changelog

@@ -17,6 +17,8 @@ dpkg (1.18.2) UNRELEASED; urgency=low
       Dpkg::Control::HashCore. Regression introduced in dpkg 1.18.0.
       Reported by Jakub Wilk <jwilk@debian.org>. Closes: #789580
     - Allow the Maintainer field in CTRL_FILE_STATUS.
+    - Import make_path from File::Path in Dpkg::Source::Package::V2.
+      Regression introduced in dpkg 1.18.0. Closes: #789957
   * Documentation:
     - Fix grammar in dpkg-architecture(1).
       Thanks to Chris Lamb <lamby@debian.org>. Closes: #787616

+ 1 - 1
scripts/Dpkg/Source/Package/V2.pm

@@ -694,7 +694,7 @@ package Dpkg::Source::Package::V2::BinaryFiles;
 use Dpkg::ErrorHandling;
 use Dpkg::Gettext;
 
-use File::Path;
+use File::Path qw(make_path);
 
 sub new {
     my ($this, $dir) = @_;