diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-06-30 12:48:28 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-06-30 12:48:28 -0400 |
commit | f94b4b1aea929a8af7d093a118a570f8739b9574 (patch) | |
tree | 1e52c1302cdd2c4f4d5a62cd7daf419148e04ac0 /dh_install | |
parent | d5872326dc49c2cb7c017748e5f592f53db74cb8 (diff) |
dh_install: Handle correctly the case where a glob expands to a dangling symlink, installing the dangling link as requested. Closes: #534565
Diffstat (limited to 'dh_install')
-rwxr-xr-x | dh_install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { my @found = glob "$srcdir/$glob"; if (! compat(6)) { # Fall back to looking in debian/tmp. - if (! @found || ! -e $found[0]) { + if (! @found || ! (-e $found[0] || -l $found[0])) { @found = glob "debian/tmp/$glob"; } } |