summaryrefslogtreecommitdiff
path: root/dh_install
diff options
context:
space:
mode:
authorjoey <joey>2002-04-17 01:32:54 +0000
committerjoey <joey>2002-04-17 01:32:54 +0000
commitc53c815a58c1874bc09c37327154ce0fd061d9b5 (patch)
tree3a003cbcb59f37c128caf7170b5b6a7100ca65c6 /dh_install
parentfae5806aeb1a5e7b40a9c149a739f645395e5139 (diff)
downloaddebhelper-c53c815a58c1874bc09c37327154ce0fd061d9b5.tar.gz
r520: * dh_install: delay globbing until after destintations have been found.
Closes: #143234
Diffstat (limited to 'dh_install')
-rwxr-xr-xdh_install6
1 files changed, 3 insertions, 3 deletions
diff --git a/dh_install b/dh_install
index b3dab4c1..019d0f1b 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) {