summaryrefslogtreecommitdiffstats
path: root/util/find-doc-nits
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2020-01-29 17:18:39 +0100
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2020-02-06 16:46:08 +0100
commit912f8a988ac16837ae24b32c863e895283380333 (patch)
tree7875ebfb889736f015e778aeea152b9d36bac87d /util/find-doc-nits
parentThe -hmac option to speed is now #ifdef'd (diff)
downloadopenssl-912f8a988ac16837ae24b32c863e895283380333.tar.xz
openssl-912f8a988ac16837ae24b32c863e895283380333.zip
Add cmd-nits to travis build
Update CHANGES to have a complete and uniform description. Fixes #9730 Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/10972)
Diffstat (limited to 'util/find-doc-nits')
-rwxr-xr-xutil/find-doc-nits10
1 files changed, 7 insertions, 3 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits
index 901e34f384..25cd6296e9 100755
--- a/util/find-doc-nits
+++ b/util/find-doc-nits
@@ -22,6 +22,10 @@ use OpenSSL::Util::Pod;
# Set to 1 for debug output
my $debug = 0;
+# Where to find openssl command
+my $BLDTOP = $ENV{BLDTOP} || ".";
+my $openssl = "$BLDTOP/util/opensslwrap.sh";
+
# Options.
our($opt_d);
our($opt_e);
@@ -787,7 +791,7 @@ sub checkflags {
my %localskips;
# Get the list of options in the command.
- open CFH, "./apps/openssl list --options $cmd|"
+ open CFH, "$openssl list --options $cmd|"
or die "Can list options for $cmd, $!";
while ( <CFH> ) {
chop;
@@ -847,7 +851,7 @@ if ( $opt_c ) {
my @commands = ();
# Get list of commands.
- open FH, "./apps/openssl list -1 -commands|"
+ open FH, "$openssl list -1 -commands|"
or die "Can't list commands, $!";
while ( <FH> ) {
chop;
@@ -869,7 +873,7 @@ if ( $opt_c ) {
}
# See what help is missing.
- open FH, "./apps/openssl list --missing-help |"
+ open FH, "$openssl list --missing-help |"
or die "Can't list missing help, $!";
while ( <FH> ) {
chop;