Don't create autoindex pages just because of transient things
authorSimon McVittie <smcv@debian.org>
Sat, 27 Nov 2010 23:39:20 +0000 (23:39 +0000)
committerSimon McVittie <smcv@debian.org>
Sat, 22 Jan 2011 22:37:14 +0000 (22:37 +0000)
IkiWiki/Plugin/autoindex.pm

index d0261858104cdc2783709c7fafda468b94b975b4..825633d5a319db2a416ff3a88fbf2cc2a680eb00 100644 (file)
@@ -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({