Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45f4c81d authored by Bill Pemberton's avatar Bill Pemberton Committed by Steven Rostedt
Browse files

localmodconfig: Use my variable for loop in streamline_config.pl



perlcritic complains about $kconfig being reused in the foreach loop
at the end of read_kconfig.  Change it to a my variable.

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent e0d28694
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -252,7 +252,7 @@ sub read_kconfig {
    close($kinfile);
    close($kinfile);


    # read in any configs that were found.
    # read in any configs that were found.
    foreach $kconfig (@kconfigs) {
    foreach my $kconfig (@kconfigs) {
	if (!defined($read_kconfigs{$kconfig})) {
	if (!defined($read_kconfigs{$kconfig})) {
	    $read_kconfigs{$kconfig} = 1;
	    $read_kconfigs{$kconfig} = 1;
	    read_kconfig($kconfig);
	    read_kconfig($kconfig);