]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installman
dhinstallman: Avoid doubled slashes in path. Closes: #561275
[debhelper.git] / dh_installman
index 602d61b342d9a545ffeaf2f154d46d491a18df0c..8487f100776f295861148a84a8418a8e8f00c77d 100755 (executable)
@@ -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;