Fix util/mkpod2html.pl to call pod2html with absolute paths
authorRichard Levitte <levitte@openssl.org>
Sun, 19 Sep 2021 09:05:35 +0000 (11:05 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 21 Sep 2021 09:05:53 +0000 (11:05 +0200)
commitdc18f036f161e1e49e1d001046716c77d1699e70
tree4957da68dba6d9763676eaa057c0912a4692655f
parent08d8c2d87ec782e95c28ff795e096c2f6f590d63
Fix util/mkpod2html.pl to call pod2html with absolute paths

It turns out that on VMS, pod2html only recognises VMS directory
specifications if they contain a device name, which is accomplished by
making them absolute.  Otherwise, a VMS build that includes building
the document HTML files ends up with an error like this:

    $ perl [---.downloads.openssl-3_0-snap-20210916.util]mkpod2html.pl -i [---.downloads.openssl-3_0-snap-20210916.doc.man1]CA.pl.pod -o [.DOC.HTML.MAN1]CA.PL.HTML -t "CA.pl" -r "[---.downloads.openssl-3_0-snap-20210916.doc]"
    [---.downloads.openssl-3_0-snap-20210916.util]mkpod2html.pl: error changing to directory -/-/-/downloads/openssl-3_0-snap-20210916/doc/: no such file or directory
    %SYSTEM-F-ABORT, abort

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16626)
util/mkpod2html.pl