From 39859e26e56171d0ebd4ee26a839e49f0db92a9c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 17 Feb 2009 20:03:48 +1030 Subject: [PATCH 1/1] Fix it not to include ccan dirs without test/ --- web/staticall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.2