[devscripts] 06/09: dpkg-depcheck: Convert relative paths to absolute before filtering
James McCoy
jamessan at debian.org
Thu Apr 24 04:40:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch master
in repository devscripts.
commit 7a3480b7084c54b1043cb1862041584f19d32d4c
Author: James McCoy <jamessan at debian.org>
Date: Tue Apr 22 00:56:42 2014 -0400
dpkg-depcheck: Convert relative paths to absolute before filtering
Closes: #744320
Signed-off-by: James McCoy <jamessan at debian.org>
---
debian/changelog | 3 +++
scripts/dpkg-depcheck.pl | 1 +
2 files changed, 4 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f6a4efa..17c5e8a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,9 @@ devscripts (2.14.2) UNRELEASED; urgency=medium
* debcommit: Add hg and bzr support to DEBCOMMIT_SIGN_COMMITS.
* mk-build-deps: Uninstall the build-dep packages if apt isn't able to
complete their install. (Closes: #743462)
+ * dpkg-depcheck: Convert relative paths to absolute before filtering, so
+ filters properly match the path. Thanks to William King for the patch.
+ (Closes: #744320)
[ Andreas Tille ]
* uscan: Allow a different compression scheme when repacking upstream
diff --git a/scripts/dpkg-depcheck.pl b/scripts/dpkg-depcheck.pl
index 6701790..ab6ce84 100755
--- a/scripts/dpkg-depcheck.pl
+++ b/scripts/dpkg-depcheck.pl
@@ -431,6 +431,7 @@ sub filterfiles (@)
foreach my $file (@_) {
next unless -f $file;
+ $file = Cwd::abs_path($file);
my @links=();
my $prevlink='';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list