X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticall.php;h=e976406b3330a9082d20c5c5c69e38eca90869a9;hp=d93a26f27ac005e048f36e05588d7f3ef76e4743;hb=8fc1b23065309df44a3725ec7dba76dfebc9cbd2;hpb=e956db66e83df4931e413d25188d528926f14824 diff --git a/web/staticall.php b/web/staticall.php index d93a26f2..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] != '.') { - array_push($modules, $entry); - } -} +$modules = array_slice($argv, 4); sort($modules); foreach ($modules as $module) { @@ -49,7 +43,6 @@ foreach ($modules as $module) { close(); ?>