aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-07-18 17:47:36 -0400
committerJoey Hess <joey@kitenet.net>2010-07-18 17:47:36 -0400
commiteeb8e11d65ba5a8ea4db63beafa3cabebf0a7dc2 (patch)
treed3ef1b9d4a699919722f635ded4600d4f8347e81 /IkiWiki.pm
parentad8cb6d6fafa77be4e97a983d1b209f79aaf65ac (diff)
downloadikiwiki-eeb8e11d65ba5a8ea4db63beafa3cabebf0a7dc2.tar
ikiwiki-eeb8e11d65ba5a8ea4db63beafa3cabebf0a7dc2.tar.gz
remove dead case
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index fa49b2c34..2cf0ad819 100644
--- 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"));
}