]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Documentation/mknews.perl
support multiple CODE_URLs
[public-inbox.git] / Documentation / mknews.perl
index d87c260918c9c048544375ebf3c370fb8b6565f3..a11dd5f01fde6dd77041049db7a8d3bed76e3c06 100755 (executable)
@@ -119,10 +119,10 @@ sub html_start {
 }
 
 sub html_end {
-       print $out <<EOF or die;
-       git clone $PublicInbox::WwwStream::CODE_URL
-</pre></body></html>
-EOF
+       for (@$PublicInbox::WwwStream::CODE_URL) {
+               print $out "    git clone $_\n" or die;
+       }
+       print $out "</pre></body></html>\n" or die;
 }
 
 sub atom_start {