summaryrefslogtreecommitdiff
path: root/dh_installmanpages
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_installmanpages
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_installmanpages')
-rwxr-xr-xdh_installmanpages6
1 files changed, 3 insertions, 3 deletions
diff --git a/dh_installmanpages b/dh_installmanpages
index 1f94673..9002094 100755
--- a/dh_installmanpages
+++ b/dh_installmanpages
@@ -112,9 +112,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";