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)
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";
}