[debhelper-devel] [debhelper] 01/02: Revert "dh_shlibdeps: Avoid calling file(1) on debug symbols"

Niels Thykier nthykier at moszumanska.debian.org
Mon Jun 26 10:15:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit ca182412212f144b61901f656aeab69c18510ff6
Author: Niels Thykier <niels at thykier.net>
Date:   Mon Jun 26 10:12:19 2017 +0000

    Revert "dh_shlibdeps: Avoid calling file(1) on debug symbols"
    
    This reverts commit 609609f43f5f42e3e2ff24a3a84f220e7f5bc44a.
---
 dh_shlibdeps | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh_shlibdeps b/dh_shlibdeps
index 80d992a..ca37fe0 100755
--- a/dh_shlibdeps
+++ b/dh_shlibdeps
@@ -118,7 +118,7 @@ on_pkgs_in_parallel {
 		}
 		foreach my $file (split(/\n/,`find $tmp -type f \\( -perm /111 -or -name "*.so*" -or -name "*.cmxs" -or -name "*.node" \\) $find_options -print`)) {
 			# Prune directories that contain separated debug symbols.
-			next if $file=~m!^\Q$tmp\E/usr/lib/debug/!;
+			next if $file=~m!^\Q$tmp\E/usr/lib/debug/(lib|lib64|usr|bin|sbin|opt|dev|emul)/!;
 			# TODO this is slow, optimize. Ie, file can run once on
 			# multiple files..
 			$ff=`file "$file"`;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list