From 79411de849c878b56c269b88a49c6b1ce15310d0 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 14 Oct 2003 19:35:06 +0000 Subject: r1614: * Patch from Andrew Suffield to make dh_strip support saving the debugging symbols with a --keep-debug flag and dh_shlibdeps skip /usr/lib/debug. Thanks! Closes: #215670 * Add --dbg-package flag to dh_strip, to list packages that have associated -dbg packages. dh_strip will then move the debug symbols over to the associated -dbg packages. --- dh_shlibdeps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_shlibdeps') diff --git a/dh_shlibdeps b/dh_shlibdeps index 2d7970d2..3192b189 100755 --- a/dh_shlibdeps +++ b/dh_shlibdeps @@ -113,7 +113,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') { $find_options="! \\( $dh{EXCLUDE_FIND} \\)"; } - foreach my $file (split(/\n/,`find $tmp -type f \\( -perm +111 -or -name "*.so*" \\) $find_options`)) { + foreach my $file (split(/\n/,`find $tmp -path $tmp/usr/lib/debug -prune -or -type f \\( -perm +111 -or -name "*.so*" \\) $find_options -print`)) { # TODO this is slow, optimize. Ie, file can run once on # multiple files.. $ff=`file "$file"`; -- cgit v1.2.3