summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2010-11-27 23:39:20 +0000
committerSimon McVittie <smcv@debian.org>2011-01-22 22:37:14 +0000
commit01d812decb7e3f3b2159f61e21448876d69baaa7 (patch)
tree63086a0818e34fd7a215055bba998020b1665a12
parent059259ecd1f974b98718bf05f8be63fa0e7c4e32 (diff)
Don't create autoindex pages just because of transient things
-rw-r--r--IkiWiki/Plugin/autoindex.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/autoindex.pm b/IkiWiki/Plugin/autoindex.pm
index d02618581..825633d5a 100644
--- a/IkiWiki/Plugin/autoindex.pm
+++ b/IkiWiki/Plugin/autoindex.pm
@@ -64,6 +64,7 @@ sub refresh () {
my (%pages, %dirs);
foreach my $dir ($config{srcdir}, @{$config{underlaydirs}}, $config{underlaydir}) {
+ next if $dir eq $IkiWiki::Plugin::transient::transientdir;
chdir($dir) || next;
find({