X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticall.php;fp=web%2Fstaticall.php;h=ac39eddca23bd69b02ac06de4876f2aa0e3930fe;hp=85c7fe97847e569dfb421008253758807c9a5fb9;hb=e30753942e5a5ea6e958fdd850fc7a9c33285dae;hpb=75a31ebff11ab33b40897e628f350f9ab5957a1f diff --git a/web/staticall.php b/web/staticall.php index 85c7fe97..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] != '.' && is_dir($argv[1].$entry."/test")) { + if ($entry[0] != '.' && is_file($argv[1].$entry."/_info.c")) { array_push($modules, $entry); } }