From d00d7d524f874c602e51ec2c42d85881c4bb7c7d Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 12 Jul 2017 20:37:00 +0000 Subject: Re-instate bug compatibility to fix #867866 Previous versions of debhelper had "interesting" way of interpreting arguments where it split them on space. This was mistakenly "corrected" in 10.6 when debhelper started to use bsd_glob (that does not split on spaces). To resolve this, manully split arguments like the original code would (effectively) have done so packages are unaffected by it. Signed-off-by: Niels Thykier --- dh_installexamples | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dh_installexamples') diff --git a/dh_installexamples b/dh_installexamples index 6f0e8068..79e68020 100755 --- a/dh_installexamples +++ b/dh_installexamples @@ -100,7 +100,8 @@ foreach my $package (getpackages()) { } if (($package eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL}) && @ARGV) { - push @examples, @ARGV; + # The split is for bug-backwards compatibility (#867866). + push(@examples, map { split } @ARGV); } log_installed_files($package, @examples); -- cgit v1.2.3