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:
Simon Butcher 2017-02-02 14:26:15 +00:00 committed by Janos Follath
parent c45ddbec9b
commit a0fbc582f0

View File

@ -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