debug(gettext("updating hyperestraier search index"));
estcmd("gather -cm -bc -cl -sd",
map {
- Encode::encode_utf8($config{destdir}."/".$_)
- foreach @{$renderedfiles{pagename($_)}};
+ map {
+ Encode::encode_utf8($config{destdir}."/".$_)
+ } @{$renderedfiles{pagename($_)}};
} @_
);
estcfg();
foreach (@_) {
print CHILD "$_\n";
}
- close(CHILD) || error("estcmd @params exited nonzero: $?");
+ close(CHILD) || print STDERR "estcmd @params exited nonzero: $?\n";
}
else {
# child