The following commit has been merged in the master branch:
commit 7590893a367b4cdd983a742137157c82bca1cd57
Author: Guillem Jover <[email protected]>
Date: Fri Mar 8 04:12:10 2013 +0100
scripts: Use getcwd from Cwd instead of POSIX
diff --git a/scripts/Dpkg/Source/Package/V1.pm
b/scripts/Dpkg/Source/Package/V1.pm
index fd611c7..39efba7 100644
--- a/scripts/Dpkg/Source/Package/V1.pm
+++ b/scripts/Dpkg/Source/Package/V1.pm
@@ -32,7 +32,8 @@ use Dpkg::Exit;
use Dpkg::Source::Functions qw(erasedir);
use Dpkg::Source::Package::V3::native;
-use POSIX;
+use POSIX qw(!getcwd);
+use Cwd;
use File::Basename;
use File::Temp qw(tempfile);
use File::Spec;
diff --git a/scripts/Dpkg/Source/Package/V2.pm
b/scripts/Dpkg/Source/Package/V2.pm
index 4a8ea6d..69019ca 100644
--- a/scripts/Dpkg/Source/Package/V2.pm
+++ b/scripts/Dpkg/Source/Package/V2.pm
@@ -34,7 +34,8 @@ use Dpkg::Vendor qw(run_vendor_hook);
use Dpkg::Control;
use Dpkg::Changelog::Parse;
-use POSIX;
+use POSIX qw(!getcwd);
+use Cwd;
use File::Basename;
use File::Temp qw(tempfile tempdir);
use File::Path;
diff --git a/scripts/Dpkg/Source/Package/V3/native.pm
b/scripts/Dpkg/Source/Package/V3/native.pm
index 0e9574c..211e8fe 100644
--- a/scripts/Dpkg/Source/Package/V3/native.pm
+++ b/scripts/Dpkg/Source/Package/V3/native.pm
@@ -30,7 +30,7 @@ use Dpkg::Exit;
use Dpkg::Source::Archive;
use Dpkg::Source::Functions qw(erasedir);
-use POSIX;
+use Cwd;
use File::Basename;
use File::Temp qw(tempfile);
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]