summaryrefslogtreecommitdiff
path: root/dh_installman
diff options
context:
space:
mode:
authorjoey <joey>2001-12-21 15:59:39 +0000
committerjoey <joey>2001-12-21 15:59:39 +0000
commit1580712ddc7c6faf97ed46452e410e72291814ce (patch)
treecfa8fb864c225127b9734c39e3628393766f6832 /dh_installman
parent768bf86cede6fc8cec8423c094ce86fcba99573e (diff)
r498: * Typo, Closes: #122679
* Export dirname from Dh_Lib, and related cleanup, Closes: #125770 * Document dirname, basename in PROGRAMMING
Diffstat (limited to 'dh_installman')
-rwxr-xr-xdh_installman8
1 files changed, 4 insertions, 4 deletions
diff --git a/dh_installman b/dh_installman
index 7d4c349..3882188 100755
--- a/dh_installman
+++ b/dh_installman
@@ -79,7 +79,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
foreach my $page (@manpages) {
- my $basename=Debian::Debhelper::Dh_Lib::basename($page);
+ my $basename=basename($page);
# Support compressed pages.
my $gz='';
@@ -171,9 +171,9 @@ sub find_so_man {
if ($l=~m/\.so\s+(.*)/) {
my $solink=$1;
# This test is here to prevent links like ... man8/../man8/foo.8
- if (Debian::Debhelper::Dh_Lib::basename($File::Find::dir) eq
- Debian::Debhelper::Dh_Lib::dirname($solink)) {
- $solink=Debian::Debhelper::Dh_Lib::basename($solink);
+ if (basename($File::Find::dir) eq
+ dirname($solink)) {
+ $solink=basename($solink);
}
else {
$solink="../$solink";