[debhelper-devel] [debhelper] 03/03: dh_installdeb/Dh_Lib: Fix bug in merge of multiple autoscripts

Niels Thykier nthykier at moszumanska.debian.org
Sat Jan 6 20:04:03 UTC 2018


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

nthykier pushed a commit to branch master
in repository debhelper.

commit 22c79dc0c9c4978fce60e9162f1aa18bdea0e938
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Jan 6 19:58:42 2018 +0000

    dh_installdeb/Dh_Lib: Fix bug in merge of multiple autoscripts
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 lib/Debian/Debhelper/Dh_Lib.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Debian/Debhelper/Dh_Lib.pm b/lib/Debian/Debhelper/Dh_Lib.pm
index b2873e4..67577c9 100644
--- a/lib/Debian/Debhelper/Dh_Lib.pm
+++ b/lib/Debian/Debhelper/Dh_Lib.pm
@@ -1631,7 +1631,7 @@ sub _concat_slurp_script_files {
 	my $res = '';
 	for my $file (@files) {
 		open(my $fd, '<', $file) or error("open($file) failed: $!");
-		my $f = <$fd>;
+		my $f = join('', <$fd>);
 		close($fd);
 		$res .= $f;
 	}

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




More information about the debhelper-devel mailing list