summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-06-07 12:38:25 +1000
committerPauli <pauli@openssl.org>2021-06-08 18:55:32 +1000
commitf7a19d6402fa7dd73f323b8b15a946ed3ec42efb (patch)
tree279d51af7f1f96941b955c56f81c7abaf61795aa /util
parent7f0dc8da7d0c9ed29e5aff30f2afc4902b01e2f5 (diff)
doc-nits: support out of source execution
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15637)
Diffstat (limited to 'util')
-rwxr-xr-xutil/find-doc-nits2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits
index 467f551093..7244c589e8 100755
--- a/util/find-doc-nits
+++ b/util/find-doc-nits
@@ -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;