projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f78e679
)
move File::Find control back into its code blocks
author
Joey Hess
<joey@kitenet.net>
Sat, 17 Apr 2010 20:14:15 +0000
(16:14 -0400)
committer
Joey Hess
<joey@kitenet.net>
Sat, 17 Apr 2010 20:14:15 +0000
(16:14 -0400)
Ok, this is longer, but features less scary action at a distance.
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index fff9dcce610e76be5c7ebf5e32bcd7b5c7ed7e69..41f179a500b03e8e8ce84b7386daa40c4aea762c 100644
(file)
--- a/
IkiWiki/Render.pm
+++ b/
IkiWiki/Render.pm
@@
-291,7
+291,6
@@
sub verify_src_file ($$) {
my $page = pagename($file);
if (! exists $pagesources{$page} &&
file_pruned($file)) {
- $File::Find::prune=1;
return;
}
@@
-318,6
+317,9
@@
sub find_src_files () {
}
$pages{$page}=1;
}
+ else {
+ $File::Find::prune=1;
+ }
},
}, $config{srcdir});
foreach my $dir (@{$config{underlaydirs}}, $config{underlaydir}) {
@@
-336,6
+338,9
@@
sub find_src_files () {
}
}
}
+ else {
+ $File::Find::prune=1;
+ }
},
}, $dir);
};