diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-04-08 13:14:52 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-04-08 13:30:15 +0300 |
commit | 45f8c190a9381a735d9b77f60bf0aec487a70bfb (patch) | |
tree | 0f8b91ea120a429f59a44658a579a0673be50e93 /autogen.sh | |
parent | 074f0c72c0fc32a2981927832cdfad672cf26893 (diff) |
Make the list of valid distros show up also in slightly older Perl versions
See http://perldoc.perl.org/functions/readdir.html .
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index c83ad8c0b397..955d04ef5610 100755 --- a/autogen.sh +++ b/autogen.sh @@ -48,7 +48,7 @@ sub invalid_distro($$) print STDERR "valid values are:\n"; my $dirh; opendir ($dirh, "distro-configs"); - while (readdir ($dirh)) { + while (($_ = readdir ($dirh))) { /(.*)\.conf$/ || next; print STDERR "\t$1\n"; } |