remove dead case
authorJoey Hess <joey@kitenet.net>
Sun, 18 Jul 2010 21:47:36 +0000 (17:47 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 18 Jul 2010 21:47:36 +0000 (17:47 -0400)
IkiWiki.pm

index fa49b2c340fe9b40f46db39a42c0d084b1fcd4f1..2cf0ad819876d43e8c03c757f90e5bbc585317ad 100644 (file)
@@ -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"));
                                }