diff options
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 50efa8c6b..8a28ef23b 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -186,7 +186,9 @@ sub read_conf { foreach (cat_($file)) { next if /^\s*#/; + s/#.*$//; my ($type, $alias, $val) = split(/\s+/, chomp_($_), 3) or next; + $val =~ s/\s+$//; $val = [ split ' ', $val ] if $type eq 'probeall'; |