Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not use line separator var
  • Loading branch information
zoffixznet committed Nov 21, 2015
1 parent 6c8bd64 commit 4ec675f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/lib/DbBuilder.pm
Expand Up @@ -112,7 +112,7 @@ sub _meta_list {
. 'not seem to be a URL, but is not a [readable] file either';
}

my @metas = grep /\S/, map trim($_), split m{\Q$/\E}, $raw_data;
my @metas = grep /\S/, map trim($_), split /\n/, $raw_data;
log info => 'Found ' . @metas . ' dists';

return @metas;
Expand Down

0 comments on commit 4ec675f

Please sign in to comment.