X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticall.php;h=e976406b3330a9082d20c5c5c69e38eca90869a9;hp=1998e147718aa4667ac55f271952f14714edccde;hb=f103f73ff040a8700a2bbd47948277e7c484baa2;hpb=570c9c555f076e74f46141bb42b5d1d7ac89f632 diff --git a/web/staticall.php b/web/staticall.php index 1998e147..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")) { - array_push($modules, $entry); - } -} +$modules = array_slice($argv, 4); sort($modules); foreach ($modules as $module) { @@ -49,7 +43,6 @@ foreach ($modules as $module) { close(); ?>