Commit 39859e26 authored by Rusty Russell's avatar Rusty Russell

Fix it not to include ccan dirs without test/

parent f5129b0c
...@@ -28,7 +28,7 @@ Or you can just download the <a href="ccan.tar.bz2">tarball of everything includ ...@@ -28,7 +28,7 @@ Or you can just download the <a href="ccan.tar.bz2">tarball of everything includ
$d = dir($argv[1]); $d = dir($argv[1]);
$modules = array(); $modules = array();
while (false !== ($entry = $d->read())) { while (false !== ($entry = $d->read())) {
if ($entry[0] != '.') { if ($entry[0] != '.' && is_dir($argv[1].$entry."/test")) {
array_push($modules, $entry); array_push($modules, $entry);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment