projects
/
grml-mirrors.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8325f
)
Don't forget last element
author
Alexander Wirt
<formorer@debian.org>
Tue, 3 Jan 2012 22:11:12 +0000
(23:11 +0100)
committer
Alexander Wirt
<formorer@debian.org>
Tue, 3 Jan 2012 22:11:12 +0000
(23:11 +0100)
masterlist2mirmon
patch
|
blob
|
history
diff --git
a/masterlist2mirmon
b/masterlist2mirmon
index
60a08f3
..
0195492
100755
(executable)
--- a/
masterlist2mirmon
+++ b/
masterlist2mirmon
@@
-25,6
+25,8
@@
while (my $line = <$fh>) {
}
}
+push @mirrors, $data if $data;
+
foreach my $mirror (@mirrors) {
my ($c, $r) = split (/ +/, $mirror->{'country'});
printf ("%s http://%s%s\n", $c, $mirror->{'site'}, $mirror->{'grml-http'});