This is an automated email from the git hooks/post-receive script. abe pushed a commit to branch master in repository debsums.
commit 32ddce5a04751802dee4372e8396a04bcf0749e8 Author: Ryan Niebur <ryanrya...@gmail.com> Date: Sun Aug 2 15:58:13 2009 -0700 patch from sgran to fix rmtree usage (Closes: #487317) --- debian/changelog | 3 ++- debsums.in | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index d238f1f..ae052f0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,8 +8,9 @@ debsums (2.0.47) UNRELEASED; urgency=low * set myself as maintainer (Closes: #534655) * document the solution to bug #74033 * document the possible outcomes (Closes: #469774) + * patch from sgran to fix rmtree usage (Closes: #487317) - -- Ryan Niebur <ryanrya...@gmail.com> Sun, 02 Aug 2009 01:58:58 -0700 + -- Ryan Niebur <ryanrya...@gmail.com> Sun, 02 Aug 2009 15:58:11 -0700 debsums (2.0.46) unstable; urgency=low diff --git a/debsums.in b/debsums.in index f2c3db0..86b2275 100755 --- a/debsums.in +++ b/debsums.in @@ -486,7 +486,7 @@ for (@ARGV) my $control = "$tmp/DEBIAN"; $sums = "$control/md5sums"; - rmtree $control if -d $control; + rmtree ($control, {safe => 1}) if -d $control; system 'dpkg', '--control', $deb, $control and die "$self: can't extract control info from $deb\n"; @@ -538,7 +538,7 @@ for (@ARGV) }, $unpacked; close SUMS; - rmtree $unpacked; + rmtree ($unpacked, {safe => 1}); print "done.\n" unless $silent; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits