summaryrefslogtreecommitdiff
path: root/dh_installexamples
diff options
context:
space:
mode:
authorSven Joachim <svenjoac@gmx.de>2017-07-20 20:46:26 +0200
committerNiels Thykier <niels@thykier.net>2017-07-22 20:06:13 +0000
commit063c761fda757ef24ff43f57911f4f461c8fd0dc (patch)
tree4573cc54ffab7e3fc256ab88509aab2b97a8ae8d /dh_installexamples
parentfca6ebf45cefecfc45fb34dcb6b00d85d5e44846 (diff)
downloaddebhelper-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_installexamples')
-rwxr-xr-xdh_installexamples3
1 files changed, 1 insertions, 2 deletions
diff --git a/dh_installexamples b/dh_installexamples
index ce3d7aa7..f11d1c59 100755
--- a/dh_installexamples
+++ b/dh_installexamples
@@ -99,8 +99,7 @@ foreach my $package (getpackages()) {
}
if (($package eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL}) && @ARGV) {
- # The split is for bug-backwards compatibility (#867866).
- push(@examples, map { split } @ARGV);
+ push @examples, @ARGV;
}
log_installed_files($package, @examples);