diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-12-15 16:28:41 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-12-15 16:28:41 -0500 |
commit | b0fa73809756e6fbe35d6a838c5de14aedbb9656 (patch) | |
tree | 07c0a3f332482d76f09eb1bc87d25f9af724bc53 | |
parent | 68659e379eddcac1e1e8b8e7112f968386ea0de6 (diff) | |
download | debhelper-b0fa73809756e6fbe35d6a838c5de14aedbb9656.tar.gz |
dhinstallman: Avoid doubled slashes in path. Closes: #561275
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | dh_installman | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 97c7c856..9d0d8905 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ debhelper (7.4.11) UNRELEASED; urgency=low Closes: #560421 * dh(1): Add an example of using an override target to avoid dh running several commands. Closes: #560600 + * dhinstallman: Avoid doubled slashes in path. Closes: #561275 -- Joey Hess <joeyh@debian.org> Mon, 14 Dec 2009 19:23:25 -0500 diff --git a/dh_installman b/dh_installman index 602d61b3..8487f100 100755 --- a/dh_installman +++ b/dh_installman @@ -167,7 +167,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { $destdir="$tmp/usr/share/man/$langcode/man$realsection/"; } $destdir=~tr:/:/:s; # just for looks - my $instpage="$destdir/$instname.$section"; + my $instpage="$destdir$instname.$section"; next if -l $instpage; next if compat(5) && -e $instpage; |