doc-nits: support out of source execution

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15637)
This commit is contained in:
Pauli 2021-06-07 12:38:25 +10:00
parent 7f0dc8da7d
commit f7a19d6402

View File

@ -1139,7 +1139,7 @@ if ( $opt_c ) {
# Get the lists of generic options.
my $active = "";
open OFH, "apps/include/opt.h"
open OFH, catdir($config{sourcedir}, "apps/include/opt.h")
or die "Can't open apps/include/opt.h to list generic options, $!";
while ( <OFH> ) {
chop;