diff options
author | Joey Hess <joey@kitenet.net> | 2010-07-18 17:47:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-07-18 17:47:36 -0400 |
commit | eeb8e11d65ba5a8ea4db63beafa3cabebf0a7dc2 (patch) | |
tree | d3ef1b9d4a699919722f635ded4600d4f8347e81 /IkiWiki.pm | |
parent | ad8cb6d6fafa77be4e97a983d1b209f79aaf65ac (diff) | |
download | ikiwiki-eeb8e11d65ba5a8ea4db63beafa3cabebf0a7dc2.tar ikiwiki-eeb8e11d65ba5a8ea4db63beafa3cabebf0a7dc2.tar.gz |
remove dead case
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 2 |
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")); } |