include('menulist.html');
include('static-configuration');
-$tarballsize=round((filesize($argv[2]."/ccan.tar.bz2") + 1023) / 1024);
+$tarballsize=round((filesize($argv[3]."/ccan.tar.bz2") + 1023) / 1024);
?>
<h1> List of all CCAN modules: </h1>
</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">
$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);
}
}