summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo Shields <joshield@microsoft.com>2017-04-10 11:54:18 +0100
committerJo Shields <joshield@microsoft.com>2019-01-18 09:56:03 -0500
commitb2d9b24a6dacb33c819bbb900f74fac852c2f3cd (patch)
tree9a9d093de6b3639cb5af619595860291111ed06d
parent92f1ce42efb8314c297c731e2cbc2a0f67949a6c (diff)
Handle PPDB in dh_clistrip
-rwxr-xr-xdh_clistrip4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_clistrip b/dh_clistrip
index 635e9b8..209c834 100755
--- a/dh_clistrip
+++ b/dh_clistrip
@@ -19,7 +19,7 @@ B<dh_clistrip> [S<I<debhelper options>>] [B<-X>I<item>] [--dbg-package=package]
dh_clistrip is a debhelper program that removes debug symbols from
CLI libraries and applications.
-dh_clistrip deletes all *.exe.mdb and *.dll.mdb files.
+dh_clistrip deletes all *.pdb, *.exe.mdb and *.dll.mdb files.
=head1 OPTIONS
@@ -68,7 +68,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
foreach my $exclude (@{$dh{EXCLUDE}}) {
return if /$exclude/;
}
- return unless -f && /\.(exe|dll)\.mdb$/;
+ return unless -f && /\.(((exe|dll)\.mdb)|pdb)$/;
my $file = $_;
my $dir = $File::Find::dir;