]> git.donarmstrong.com Git - debhelper.git/commitdiff
dhinstallman: Avoid doubled slashes in path. Closes: #561275
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 15 Dec 2009 21:28:41 +0000 (16:28 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 15 Dec 2009 21:28:41 +0000 (16:28 -0500)
debian/changelog
dh_installman

index 97c7c856f85d089b90f1165434c9eaddcd2baf3a..9d0d89053495563d4bf40b8a30d4828b9b07f6de 100644 (file)
@@ -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
 
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;