git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@189
c11ca15a-4712-0410-83d8-
924469b57eb5
sub downloadIndex {
my $start_time = &main::gettimeofday(); # set the start time.
sub downloadIndex {
my $start_time = &main::gettimeofday(); # set the start time.
- my $idx = "$main::bot_base_dir/Temp/fm_index.txt";
+ my $idx = "$main::param{tempDir}/fm_index.txt";
&main::msg($main::who, "Updating freshmeat index... please wait");
&main::msg($main::who, "Updating freshmeat index... please wait");
}
sub freshmeatAnnounce {
}
sub freshmeatAnnounce {
- my $file = "$main::bot_base_dir/Temp/fm_recent.txt";
+ my $file = "$main::param{tempDir}/fm_recent.txt";
my @old;
### if file exists, lets read it.
my @old;
### if file exists, lets read it.
- my $file = "$main::bot_base_dir/Temp/kernel.txt";
+ my $file = "$main::param{tempDir}/kernel.txt";
my @now = &kernelGetInfo();
my @old;
my @now = &kernelGetInfo();
my @old;
- my $file = "Temp/slashdot.xml";
+ my $file = "$main::param{tempDir}/slashdot.xml";
my @Cxml = &main::getURL("http://www.slashdot.org/slashdot.xml");
if (!scalar @Cxml) {
my @Cxml = &main::getURL("http://www.slashdot.org/slashdot.xml");
if (!scalar @Cxml) {