[debsums] 134/184: fix new parse_dpkg subroutine's error message to use the command name variable instead of hard coding dpkg-query

Axel Beckert abe at deuxchevaux.org
Mon Mar 2 21:21:26 UTC 2015


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

abe pushed a commit to branch master
in repository debsums.

commit 5cb3ff32ebff23b5035bb86891981f5e0e48bbae
Author: Ryan Niebur <ryanryan52 at gmail.com>
Date:   Sat Aug 27 01:38:12 2011 -0700

    fix new parse_dpkg subroutine's error message to use the command name variable instead of hard coding dpkg-query
---
 debsums | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debsums b/debsums
index e67a907..15eac32 100755
--- a/debsums
+++ b/debsums
@@ -123,7 +123,7 @@ sub parse_dpkg {
     my @command = &$command_cb('--showformat=' .
 			       (join '', map {"\${$_}$/"} @$field_names));
     open DPKG, '-|', @command
-	or die "$self: can't run dpkg-query ($!)\n";
+	or die "$self: can't run " . $command[0] . " ($!)\n";
 
     my @ret;
     while (!eof DPKG)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git



More information about the Pkg-perl-cvs-commits mailing list