This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository debsums.

commit 12e9e06c7955060257a90bf3a30da8656ac3e3f9
Author: Francois Marier <franc...@debian.org>
Date:   Thu Sep 25 13:00:17 2008 +1200

    Simplify the cronjob based on Loïc Minier's comment on Bug#88951
---
 debian/changelog          |  2 +-
 debian/debsums.cron.daily | 13 ++-----------
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5d2d76e..fbecad6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@ debsums (2.0.38) UNRELEASED; urgency=low
 
   * Fix the cronjob when the ignore file is empty or missing (closes: #499532)
 
- -- Francois Marier <franc...@debian.org>  Sat, 20 Sep 2008 14:51:49 +1200
+ -- Francois Marier <franc...@debian.org>  Thu, 25 Sep 2008 13:00:12 +1200
 
 debsums (2.0.37) unstable; urgency=low
 
diff --git a/debian/debsums.cron.daily b/debian/debsums.cron.daily
index c0be010..669f60e 100755
--- a/debian/debsums.cron.daily
+++ b/debian/debsums.cron.daily
@@ -1,20 +1,11 @@
 #!/bin/sh
 
 debsums="/usr/bin/debsums"
+ignorefile="/etc/debsums-ignore"
 
 [ -x $debsums ] || exit 0
 
-debsumscmd="$debsums -cs"
-
-ignorefile="/etc/debsums-ignore"
-ignorelist="`cat $ignorefile 2> /dev/null`"
-
-if [ "z$ignorelist" = "z" ] ; then
-       # The ignore list is empty
-       $debsumscmd
-else
-       $debsumscmd 2>&1 | egrep -v "$ignorelist"
-fi
+$debsums -cs 2>&1 | egrep -vf "$ignorefile"
 
 # Exit with a normal status code even if errors (which could be ignored) were 
found
 exit 0

-- 
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

Reply via email to