summaryrefslogtreecommitdiff
path: root/dh_shlibdeps
diff options
context:
space:
mode:
authorjoey <joey>2003-10-14 19:35:06 +0000
committerjoey <joey>2003-10-14 19:35:06 +0000
commit79411de849c878b56c269b88a49c6b1ce15310d0 (patch)
tree1aef6c6bdeaf8fb649382937b4e3898c35acd9d9 /dh_shlibdeps
parent347a3114eb65088dd8213634eb207d68dbf2aa6d (diff)
r1614: * Patch from Andrew Suffield <asuffield@debian.org> 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.
Diffstat (limited to 'dh_shlibdeps')
-rwxr-xr-xdh_shlibdeps2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_shlibdeps b/dh_shlibdeps
index 2d7970d..3192b18 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"`;