X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=web%2Fstaticall.php;h=e976406b3330a9082d20c5c5c69e38eca90869a9;hb=737dcc0fe959d67eb29f57df37b0d7f188e0213d;hp=ac39eddca23bd69b02ac06de4876f2aa0e3930fe;hpb=e30753942e5a5ea6e958fdd850fc7a9c33285dae;p=ccan diff --git a/web/staticall.php b/web/staticall.php index ac39eddc..e976406b 100644 --- a/web/staticall.php +++ b/web/staticall.php @@ -25,13 +25,7 @@ Or you can just download the tarball of everything includ Download read())) { - if ($entry[0] != '.' && is_file($argv[1].$entry."/_info.c")) { - array_push($modules, $entry); - } -} +$modules = array_slice($argv, 4); sort($modules); foreach ($modules as $module) { @@ -49,7 +43,6 @@ foreach ($modules as $module) { close(); ?>