mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-24 02:40:59 +00:00
Fix undefined variable in scripts/config.pl
The variable $config_file was being referenced without being defined in the script config.pl.
This commit is contained in:
parent
0f86294953
commit
f384fae69a
|
@ -5,6 +5,7 @@
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
|
my $config_file = "include/mbedtls/config.h";
|
||||||
my $usage = <<EOU;
|
my $usage = <<EOU;
|
||||||
$0 [-f <file>] [set <symbol> <value> | unset <symbol> | full | realfull]
|
$0 [-f <file>] [set <symbol> <value> | unset <symbol> | full | realfull]
|
||||||
|
|
||||||
|
@ -58,8 +59,6 @@ my @non_excluded = qw(
|
||||||
PLATFORM_[A-Z0-9]+_ALT
|
PLATFORM_[A-Z0-9]+_ALT
|
||||||
);
|
);
|
||||||
|
|
||||||
my $config_file = "include/mbedtls/config.h";
|
|
||||||
|
|
||||||
# get -f option
|
# get -f option
|
||||||
if (@ARGV >= 2 && $ARGV[0] eq "-f") {
|
if (@ARGV >= 2 && $ARGV[0] eq "-f") {
|
||||||
shift; # -f
|
shift; # -f
|
||||||
|
|
Loading…
Reference in a new issue