X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticall.php;h=ac39eddca23bd69b02ac06de4876f2aa0e3930fe;hp=d93a26f27ac005e048f36e05588d7f3ef76e4743;hb=75a2f5a4b855ba9efd9e6de954eb35fda633909e;hpb=e956db66e83df4931e413d25188d528926f14824 diff --git a/web/staticall.php b/web/staticall.php index d93a26f2..ac39eddc 100644 --- a/web/staticall.php +++ b/web/staticall.php @@ -28,7 +28,7 @@ Or you can just download the tarball of everything includ $d = dir($argv[1]); $modules = array(); while (false !== ($entry = $d->read())) { - if ($entry[0] != '.') { + if ($entry[0] != '.' && is_file($argv[1].$entry."/_info.c")) { array_push($modules, $entry); } }