Skip to content

Commit

Permalink
this always fails because slurp isn't exported
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmay committed Dec 16, 2010
1 parent c83889e commit add5bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/build-project-list.pl
Expand Up @@ -110,7 +110,7 @@
sub get_projects {
my ($list_url) = @_;
my $projects;
my $contents = eval { slurp('projects.list.local') } || get($list_url);
my $contents = eval { read_file('projects.list.local') } || get($list_url);
for my $line (split "\n", $contents) {
my ($name, $url) = split ' ', $line;
my ($auth) = $url =~ m[git://github.com/([^/]+)/];
Expand Down

0 comments on commit add5bef

Please sign in to comment.