diff options
-rwxr-xr-x | drakwizard.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drakwizard.pl b/drakwizard.pl index 1823cb86..c6895365 100755 --- a/drakwizard.pl +++ b/drakwizard.pl @@ -59,8 +59,8 @@ my %wiz = ( foreach my $file (glob_("$::Wiz_more_dir/*.conf")) { next unless -f "$file"; - %tmp=getVarsFromSh($file); - $wiz{lc($file)}= [ %tmp{'NAME'}, %tmp{'DESCRIPTION'} ]; + my %tmp=getVarsFromSh($file); + $wiz{lc($file)}= [ $tmp{'NAME'}, $tmp{'DESCRIPTION'} ]; } @ARGV = grep { ! /^--/ } @ARGV; |