X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticall.php;h=e976406b3330a9082d20c5c5c69e38eca90869a9;hp=ac39eddca23bd69b02ac06de4876f2aa0e3930fe;hb=238fce098442b5fe14c1e88b6245729ebae69f65;hpb=e30753942e5a5ea6e958fdd850fc7a9c33285dae 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(); ?>