X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=web%2Fstaticall.php;h=e976406b3330a9082d20c5c5c69e38eca90869a9;hb=d73447c20d96b86a731ddae5efc0c09a533d3a52;hp=3a6407ffb85aab2aaf0d277120147f5986f5bafc;hpb=ad8da11f6d0664e0fb3c8707a869425088daea7e;p=ccan diff --git a/web/staticall.php b/web/staticall.php index 3a6407ff..e976406b 100644 --- a/web/staticall.php +++ b/web/staticall.php @@ -4,7 +4,7 @@ include('logo.html'); 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); ?>
-Or you can just download the tarball of everything (=$tarballsize?>K). +Or you can just download the tarball of everything including CCAN tools (=$tarballsize?>K).
Download | read())) { - if ($entry[0] != '.') { - array_push($modules, $entry); - } -} +$modules = array_slice($argv, 4); sort($modules); foreach ($modules as $module) { $summary=extract_field('summary',$argv[1].$module); $with_deps="$tar_dir/with-deps/$module.tar.bz2"; $no_deps="$tar_dir/$module.tar.bz2"; - $with_dep_size = round((filesize($argv[2]."/".$with_deps) + 1023) / 1024); - $no_dep_size = round((filesize($argv[2]."/".$no_deps) + 1023) / 1024); + $with_dep_size = round((filesize($argv[3]."/".$with_deps) + 1023) / 1024); + $no_dep_size = round((filesize($argv[3]."/".$no_deps) + 1023) / 1024); ?>
---|
=$module?> | @@ -49,7 +43,6 @@ foreach ($modules as $module) {
$file (${size}K) | |
$dir.tar.bz2 (${size}K) | \n"; + echo "Browse contents... |