]> git.donarmstrong.com Git - debhelper.git/commitdiff
r520: * dh_install: delay globbing until after destintations have been found.
authorjoey <joey>
Wed, 17 Apr 2002 01:32:54 +0000 (01:32 +0000)
committerjoey <joey>
Wed, 17 Apr 2002 01:32:54 +0000 (01:32 +0000)
Closes: #143234
debian/changelog
dh_install

index dfb817c50c437785f4894e54d08388757ac5eff1..b22aa7197f86e63b8b1e07cc9a005d5c0060f4c9 100644 (file)
@@ -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 <joeyh@debian.org>  Tue, 16 Apr 2002 21:25:32 -0400
+
 debhelper (4.0.1) unstable; urgency=low
 
   * dh_installdebconf: allow parameters after -- to go to
index b3dab4c1a7b54a07a47c0413eb64e182c59ed040..019d0f1baa2679b982c7cd53cad2c87295de5c23 100755 (executable)
@@ -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) {