mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 20:20: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 strict;
|
||||
|
||||
my $config_file = "include/mbedtls/config.h";
|
||||
my $usage = <<EOU;
|
||||
$0 [-f <file>] [set <symbol> <value> | unset <symbol> | full | realfull]
|
||||
|
||||
|
@ -58,8 +59,6 @@ my @non_excluded = qw(
|
|||
PLATFORM_[A-Z0-9]+_ALT
|
||||
);
|
||||
|
||||
my $config_file = "include/mbedtls/config.h";
|
||||
|
||||
# get -f option
|
||||
if (@ARGV >= 2 && $ARGV[0] eq "-f") {
|
||||
shift; # -f
|
||||
|
|
Loading…
Reference in a new issue