Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add news item for ikiwiki 3.20101129
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
autoindex.pm
diff --git
a/IkiWiki/Plugin/autoindex.pm
b/IkiWiki/Plugin/autoindex.pm
index 5e8a9e0a32954cdbbaad64a81ead00e9ea802bc0..11595e217cdccf6d7bb571a3bb9f6c79ef4ddd7f 100644
(file)
--- a/
IkiWiki/Plugin/autoindex.pm
+++ b/
IkiWiki/Plugin/autoindex.pm
@@
-39,7
+39,7
@@
sub refresh () {
my (%pages, %dirs);
foreach my $dir ($config{srcdir}, @{$config{underlaydirs}}, $config{underlaydir}) {
my (%pages, %dirs);
foreach my $dir ($config{srcdir}, @{$config{underlaydirs}}, $config{underlaydir}) {
- chdir($dir) ||
die "chdir: $!"
;
+ chdir($dir) ||
next
;
find({
no_chdir => 1,
find({
no_chdir => 1,
@@
-64,7
+64,7
@@
sub refresh () {
}
}, '.');
}
}, '.');
- chdir($origdir) || die "chdir: $!";
+ chdir($origdir) || die "chdir
$origdir
: $!";
}
my %deleted;
}
my %deleted;
@@
-117,8
+117,8
@@
sub refresh () {
}
if ($config{rcs}) {
IkiWiki::rcs_commit_staged(
}
if ($config{rcs}) {
IkiWiki::rcs_commit_staged(
- gettext("automatic index generation"),
-
undef, undef
);
+
message =>
gettext("automatic index generation"),
+ );
IkiWiki::enable_commit_hook();
}
}
IkiWiki::enable_commit_hook();
}
}