projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad8cb6d
)
remove dead case
author
Joey Hess
<joey@kitenet.net>
Sun, 18 Jul 2010 21:47:36 +0000
(17:47 -0400)
committer
Joey Hess
<joey@kitenet.net>
Sun, 18 Jul 2010 21:47:36 +0000
(17:47 -0400)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index fa49b2c340fe9b40f46db39a42c0d084b1fcd4f1..2cf0ad819876d43e8c03c757f90e5bbc585317ad 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-911,7
+911,7
@@
sub will_render ($$;$) {
if (-d _) {
foreach my $p (keys %renderedfiles, keys %oldrenderedfiles) {
foreach my $f (@{$renderedfiles{$p}}, @{$oldrenderedfiles{$p}}) {
- if (
$f eq dirname($dest) ||
dirname($f) eq $dest) {
+ if (dirname($f) eq $dest) {
unlink("$config{destdir}/$f");
rmdir(dirname("$config{destdir}/$f"));
}