summaryrefslogtreecommitdiff
path: root/scripts/otp_html_check
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/otp_html_check')
-rwxr-xr-xscripts/otp_html_check3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/otp_html_check b/scripts/otp_html_check
index abe6245ad3..dc0426fc41 100755
--- a/scripts/otp_html_check
+++ b/scripts/otp_html_check
@@ -268,10 +268,9 @@ sub normalize_link {
if ($part =~ m&^[a-z]+/&) {
$dir = "$base$rpath/${up}/$part";
} else {
- my $path = "$base$rpath/${up}lib/$part";
+ my $path = "$base$rpath/${up}lib/$part/doc/html";
($dir) = <$path-*>;
return $link unless defined $dir;
- $dir .= "/doc/html";
}
$dir =~ s&^$base&&o;
$link = "$dir/$mod";