X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticall.php;h=e976406b3330a9082d20c5c5c69e38eca90869a9;hp=85c7fe97847e569dfb421008253758807c9a5fb9;hb=238fce098442b5fe14c1e88b6245729ebae69f65;hpb=39859e26e56171d0ebd4ee26a839e49f0db92a9c diff --git a/web/staticall.php b/web/staticall.php index 85c7fe97..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_dir($argv[1].$entry."/test")) { - array_push($modules, $entry); - } -} +$modules = array_slice($argv, 4); sort($modules); foreach ($modules as $module) { @@ -49,7 +43,6 @@ foreach ($modules as $module) { close(); ?>