From f2200dc38c6859c74dc261b310b0ad13ffbd6d33 Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@gnu.kitenet.net>
Date: Mon, 19 Oct 2009 16:05:47 -0400
Subject: [PATCH] consistently print whole failing command line

---
 Debian/Debhelper/Dh_Lib.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 325c7fc..2d1934b 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -175,7 +175,7 @@ sub doit {
 	verbose_print(escape_shell(@_));
 
 	if (! $dh{NO_ACT}) {
-		system(@_) == 0 || _error_exitcode($_[0]);
+		system(@_) == 0 || _error_exitcode(join(" ", @_));
 	}
 }
 
-- 
2.39.5