From a0fbc582f0f461bd799d7783e77cb4d814a7bd59 Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Thu, 2 Feb 2017 14:26:15 +0000 Subject: [PATCH] Fix undefined variable in scripts/config.pl The variable $config_file was being referenced without being defined in the script config.pl. --- scripts/config.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/config.pl b/scripts/config.pl index 5e1865d8c..d8d6a20ed 100755 --- a/scripts/config.pl +++ b/scripts/config.pl @@ -5,6 +5,7 @@ use warnings; use strict; +my $config_file = "include/mbedtls/config.h"; my $usage = <] [set | unset | 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