diff options
author | Sven Joachim <svenjoac@gmx.de> | 2017-07-20 20:46:26 +0200 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-07-22 20:06:13 +0000 |
commit | 063c761fda757ef24ff43f57911f4f461c8fd0dc (patch) | |
tree | 4573cc54ffab7e3fc256ab88509aab2b97a8ae8d /dh_installman | |
parent | fca6ebf45cefecfc45fb34dcb6b00d85d5e44846 (diff) | |
download | debhelper-063c761fda757ef24ff43f57911f4f461c8fd0dc.tar.gz |
Revert to the pre-10.6.4 behavior for dh_installdocs and the like
It turned out that "dh_installdocs 'foo bar'" has historically treated
the argument as a single file rather than two, and packages were
relying on it, since there is really no other way to install such a
file with dh_installdocs. Hence commit d00d7d524f8 broke them.
The situation for dh_installexamples, dh_installman and dh_installinfo
is exactly the same.
That dh_install has behaved differently in this respect is
unfortunate, but can only be fixed in a new compat level.
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_installman')
-rwxr-xr-x | dh_installman | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dh_installman b/dh_installman index d25f31ed..cfaa6bc0 100755 --- a/dh_installman +++ b/dh_installman @@ -161,8 +161,7 @@ on_items_in_parallel(\@all_packages, sub { @manpages = filearray($file, \@search_dirs, $error_handler) if $file; if (($package eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL}) && @ARGV) { - # The split is for bug-backwards compatibility (#867866). - push(@manpages, map { split } @ARGV); + push @manpages, @ARGV; } log_installed_files($package, @manpages); |