X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticall.php;h=1998e147718aa4667ac55f271952f14714edccde;hp=85c7fe97847e569dfb421008253758807c9a5fb9;hb=c4ca9f54301c0367891be6330f59fdd5dcdd51d1;hpb=39859e26e56171d0ebd4ee26a839e49f0db92a9c diff --git a/web/staticall.php b/web/staticall.php index 85c7fe97..1998e147 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")) { array_push($modules, $entry); } }