generate_errors.pl: typo fix

This commit is contained in:
Andrzej Kurek 2019-04-12 09:49:30 -04:00
parent 9b11af42e2
commit e90205f9e6

View File

@ -4,7 +4,7 @@
# #
# Usage: ./generate_errors.pl or scripts/generate_errors.pl without arguments, # Usage: ./generate_errors.pl or scripts/generate_errors.pl without arguments,
# or generate_errors.pl include_dir data_dir error_file include_crypto # or generate_errors.pl include_dir data_dir error_file include_crypto
# Include crypto can be either 0 (don't include) or 1 (include). On by default. # include_crypto can be either 0 (don't include) or 1 (include). On by default.
use strict; use strict;
@ -31,7 +31,7 @@ if( @ARGV ) {
} }
if( $include_crypto ) { if( $include_crypto ) {
-d $crypto_include_dir or die "Crypto submodule not present\n"; -d $crypto_dir or die "Crypto submodule not present\n";
} }
my $error_format_file = $data_dir.'/error.fmt'; my $error_format_file = $data_dir.'/error.fmt';