]> git.ozlabs.org Git - ccan/blobdiff - web/staticall.php
From: Joseph Adams <joeyadams3.14159@gmail.com>
[ccan] / web / staticall.php
index 85c7fe97847e569dfb421008253758807c9a5fb9..ac39eddca23bd69b02ac06de4876f2aa0e3930fe 100644 (file)
@@ -28,7 +28,7 @@ Or you can just download the <a href="ccan.tar.bz2">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);
        }
 }