]> git.ozlabs.org Git - ccan/blobdiff - web/staticall.php
typesafe_cb: fix example macro ordering in typesafe_cb_preargs documentation.
[ccan] / web / staticall.php
index 60f7fa77b419e66fb8c70da4b7ab7818e2336a64..1998e147718aa4667ac55f271952f14714edccde 100644 (file)
@@ -16,7 +16,7 @@ download.
 </p>
 
 <p>
 </p>
 
 <p>
-Or you can just download the <a href="ccan.tar.bz2">tarball of everything (<?=$tarballsize?>K)</a>.
+Or you can just download the <a href="ccan.tar.bz2">tarball of everything including CCAN tools (<?=$tarballsize?>K)</a>.
 </p>
 
 <table align="center" width="80%" border="0" cellpadding="3" cellspacing="1">
 </p>
 
 <table align="center" width="80%" border="0" cellpadding="3" cellspacing="1">
@@ -28,7 +28,7 @@ Or you can just download the <a href="ccan.tar.bz2">tarball of everything (<?=$t
 $d = dir($argv[1]);
 $modules = array();
 while (false !== ($entry = $d->read())) {
 $d = dir($argv[1]);
 $modules = array();
 while (false !== ($entry = $d->read())) {
-       if ($entry[0] != '.') {
+       if ($entry[0] != '.' && is_file($argv[1].$entry."/_info")) {
                array_push($modules, $entry);
        }
 }
                array_push($modules, $entry);
        }
 }