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

abe pushed a commit to branch master
in repository debsums.

commit c3fdbcf33267d028c896507c1edb822d82ce88f2
Author: Axel Beckert <a...@deuxchevaux.org>
Date:   Thu Mar 26 01:31:01 2015 +0100

    Actually run debsums from the current directory if present
---
 t/debsums.t | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/t/debsums.t b/t/debsums.t
index 5be9f21..e0f25db 100644
--- a/t/debsums.t
+++ b/t/debsums.t
@@ -18,7 +18,10 @@ delete $ENV{PATH};
 # First check if we are testing a source package (debsums in current
 # directory) or an installed package (full path).
 foreach my $cmd (qw(./debsums /usr/bin/debsums)) {
-    $command = $cmd if -x $cmd;
+    if (-x $cmd) {
+        $command = $cmd;
+        last;
+    }
 }
 ok($command, "Command debsums found at $command");
 

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