write-man-symlinks: Write relative symlinks not absolute

Fixes #15424

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15437)
This commit is contained in:
Tomas Mraz 2021-05-24 15:09:50 +02:00
parent a7e4ca5b4e
commit 6fc4d876d4
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ my %podinfo = extract_pod_info($podfile);
for my $name (@{$podinfo{names}}) {
next if $name eq $mainf;
if ($action eq "install") {
symlink "$targetdir/$manname", "$targetdir/$name.$section";
symlink "$manname", "$targetdir/$name.$section";
} else {
unlink "$targetdir/$name.$section";
}