summaryrefslogtreecommitdiff
path: root/dh_installman
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-12-15 16:28:41 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-12-15 16:28:41 -0500
commitb0fa73809756e6fbe35d6a838c5de14aedbb9656 (patch)
tree07c0a3f332482d76f09eb1bc87d25f9af724bc53 /dh_installman
parent68659e379eddcac1e1e8b8e7112f968386ea0de6 (diff)
dhinstallman: Avoid doubled slashes in path. Closes: #561275
Diffstat (limited to 'dh_installman')
-rwxr-xr-xdh_installman2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installman b/dh_installman
index 602d61b..8487f10 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;