From d428cbeb1eb14d760eea886f258262a561c8d579 Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Sat, 29 Feb 2020 19:55:04 +0300 Subject: [PATCH] Fix uninitialized value warning --- bin/manipulate-language | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/manipulate-language b/bin/manipulate-language index b5ba7ee02..4e566484c 100755 --- a/bin/manipulate-language +++ b/bin/manipulate-language @@ -221,7 +221,7 @@ sub language_source_file # Set prefix in case of processing `config.info` or `module.info` my $language_source_file_target_ = "/"; - if ($opt->{'type'} =~ /config|module/) { + if (defined($opt->{'type'}) && $opt->{'type'} =~ /config|module/) { $language_source_file_target_ = "/$opt->{'type'}.info."; }