diff options
author | Niels Thykier <niels@thykier.net> | 2017-07-12 20:37:00 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-07-12 20:37:02 +0000 |
commit | d00d7d524f874c602e51ec2c42d85881c4bb7c7d (patch) | |
tree | 7523623e1586bc8228afd5b87c837043f6f89bcb /dh_installexamples | |
parent | b6c775550ba14a8813100709153897949c8044c3 (diff) |
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 <niels@thykier.net>
Diffstat (limited to 'dh_installexamples')
-rwxr-xr-x | dh_installexamples | 3 |
1 files changed, 2 insertions, 1 deletions
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); |