From: joey Date: Wed, 17 Apr 2002 01:32:54 +0000 (+0000) Subject: r520: * dh_install: delay globbing until after destintations have been found. X-Git-Tag: version_2.0.101~79 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c53c815a58c1874bc09c37327154ce0fd061d9b5;p=debhelper.git r520: * dh_install: delay globbing until after destintations have been found. Closes: #143234 --- diff --git a/debian/changelog b/debian/changelog index dfb817c..b22aa71 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (4.0.2) unstable; urgency=low + + * dh_install: delay globbing until after destintations have been found. + Closes: #143234 + + -- Joey Hess Tue, 16 Apr 2002 21:25:32 -0400 + debhelper (4.0.1) unstable; urgency=low * dh_installdebconf: allow parameters after -- to go to diff --git a/dh_install b/dh_install index b3dab4c..019d0f1 100755 --- a/dh_install +++ b/dh_install @@ -30,7 +30,7 @@ the line tells the directory it should be installed in. The name of the files (or directories) to install should be given relative to the current directory, while the installation directory is given relative to the package build directory. You may use wildcards in the names of the files to -install. +install (in v3 mode and above). This program may be used in one of two ways. If you just have a file or two that the upstream Makefile does not install for you, you can run dh_install @@ -84,7 +84,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { my @install; if ($file) { - @install=filedoublearray($file, "."); + @install=filedoublearray($file); # no globbing yet } if (($package eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL}) && @ARGV) { @@ -104,7 +104,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { $dest=pop @$set; } - foreach my $src (@$set) { + foreach my $src (map { glob } @$set) { # glob now next if excludefile($src); if (! defined $dest) {