diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-07-14 17:15:18 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-07-14 17:15:18 -0400 |
commit | a75d695219f0a4613b647e7088794f6c1286fd54 (patch) | |
tree | 2166501d8fe0a459085a07b6cad12f00ec0dd8fe | |
parent | 1681cb48a6cb9f33de3fc2da5b62ace493dde79a (diff) | |
parent | c87b3b9be81406cc0aa9338d2ed67667041aa588 (diff) |
Merge branch 'master' into buildsystems
Conflicts:
debian/changelog
-rw-r--r-- | debian/changelog | 8 | ||||
-rwxr-xr-x | dh_install | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index b68e6d24..fda83527 100644 --- a/debian/changelog +++ b/debian/changelog @@ -47,6 +47,14 @@ debhelper (7.3.0) experimental; urgency=low -- Joey Hess <joeyh@debian.org> Wed, 01 Jul 2009 15:31:20 -0400 +debhelper (7.2.22) unstable; urgency=low + + * dh_install: Fix support for the case where --sourcedir=debian/tmp/foo + is used. Perl was not being greedy enough and the 'foo' was not stripped + from the destination directory in this unusual case. Closes: #537017 + + -- Joey Hess <joeyh@debian.org> Tue, 14 Jul 2009 17:08:25 -0400 + debhelper (7.2.21) unstable; urgency=low * Add a versioned dep on perl-base, to get a version that supports @@ -170,7 +170,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if (! defined $dest) { # Guess at destination directory. $dest=$src; - $dest=~s/^(.*\/)?(\Q$srcdir\E|debian\/tmp)\///; + $dest=~s/^(.*\/)?\Q$srcdir\E\/// || + $dest=~s/^(.*\/)?debian\/tmp\///; $dest=dirname("/".$dest); $tmpdest=1; } |