summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-05-24 15:09:50 +0200
committerTomas Mraz <tomas@openssl.org>2021-05-25 17:14:09 +0200
commit6fc4d876d460a7ad30b57e94feda3cbd01a43f92 (patch)
treee42ca1274129d262f33270e84440acfc6b1b3624 /util
parenta7e4ca5b4e1932cb91ea21047403c87a033e524a (diff)
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)
Diffstat (limited to 'util')
-rwxr-xr-xutil/write-man-symlinks2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/write-man-symlinks b/util/write-man-symlinks
index 97b72a3840..7db7d2cbe2 100755
--- a/util/write-man-symlinks
+++ b/util/write-man-symlinks
@@ -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";
}