From: Joey Hess Date: Tue, 22 Apr 2008 21:54:47 +0000 (-0400) Subject: dh_clean: Don't delete core dumps. (Too DWIM, and "core" is not necessarily a core... X-Git-Tag: 7.0.0~28 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c41c158bc3fd2324f9969190fe64e350312e67a8;p=debhelper.git dh_clean: Don't delete core dumps. (Too DWIM, and "core" is not necessarily a core dump.) Closes: #477391 --- diff --git a/debian/changelog b/debian/changelog index b8f90c8..0eb19ec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (6.0.13) UNRELEASED; urgency=low + + * dh_clean: Don't delete core dumps. (Too DWIM, and "core" is not + necessarily a core dump.) Closes: #477391 + + -- Joey Hess Tue, 22 Apr 2008 17:54:20 -0400 + debhelper (6.0.12) unstable; urgency=low * dh_icons: Support .xpm format icons. Stop looking for .jpg icons, and diff --git a/dh_clean b/dh_clean index 21114df..7f96924 100755 --- a/dh_clean +++ b/dh_clean @@ -20,7 +20,7 @@ package is built. It removes the package build directories, and removes some other files including debian/files, and any detritus left behind by other debhelper commands. It also removes common files that should not appear in a debian diff: - #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS core .deps/* *.P + #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P =head1 OPTIONS @@ -95,7 +95,7 @@ if (! $dh{D_FLAG}) { \\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \\ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \\ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \\ - -o -name TAGS -o -name core -o \\( -path '*/.deps/*' -a -name '*.P' \\) \\ + -o -name TAGS -o \\( -path '*/.deps/*' -a -name '*.P' \\) \\ \\) -exec rm -f {} \\; \\) -o \\ \\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \\; \\) \\)"); }