X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Fstaticall.php;h=85c7fe97847e569dfb421008253758807c9a5fb9;hp=d93a26f27ac005e048f36e05588d7f3ef76e4743;hb=39859e26e56171d0ebd4ee26a839e49f0db92a9c;hpb=f5129b0c08976fbaa07d3d610de40677e81ad344;ds=sidebyside diff --git a/web/staticall.php b/web/staticall.php index d93a26f2..85c7fe97 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_dir($argv[1].$entry."/test")) { array_push($modules, $entry); } }