[Reproducible-commits] [debhelper] 01/02: dh_strip: capture strip(1)'s --help output (on stderr)

Mattia Rizzolo mattia at mapreri.org
Thu Apr 16 18:41:41 UTC 2015


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

mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository debhelper.

commit 5502b4afc43d2a400b688afa9ace2b29c5f833c6
Author: Niels Thykier <niels at thykier.net>
Date:   Thu Apr 16 20:31:22 2015 +0200

    dh_strip: capture strip(1)'s --help output (on stderr)
    
    Reported-by: Jérémy Bobbio
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_strip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh_strip b/dh_strip
index 0843dc8..27324fa 100755
--- a/dh_strip
+++ b/dh_strip
@@ -243,7 +243,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	}
 
 	if (@static_libs) {
-		my $strip_help = qx{$strip};
+		my $strip_help = qx{$strip 2>&1};
 		my @opts = ('--strip-debug');
 		if (index($strip_help, '--enable-deterministic-archives') > -1) {
 			# NB: The short variant (-D) is broken in Jessie

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git



More information about the Reproducible-commits mailing list