}
$home = "$ENV{HOME}/";
+my $scripts = "$home/ids/perl/scripts";
$tprefix = "${home}tmp/mbot-$$";
# Little hack to stop spam: ignore everything from people not already in database
$hasAuth->execute( $author );
} else {
print LOG "Patch succeeded.\n";
print LOG "Parsing patched file.\n";
- print LOG `$home/bin/ids_to_dbdump <$orig 2>&1 >orig.db.unsorted`;
+ print LOG `$scripts/ids_to_dbdump <$orig 2>&1 >orig.db.unsorted`;
$? && error("Error parsing original ID database");
print LOG `sort -k1 <orig.db.unsorted >orig.db`;
$? && error("Error sorting original ID database");
- print LOG `$home/bin/ids_to_dbdump <pci.ids 2>&1 >new.db.unsorted`;
+ print LOG `$scripts/ids_to_dbdump <pci.ids 2>&1 >new.db.unsorted`;
$? && error("Error parsing the patched pci.ids file");
print LOG `sort -k1 <new.db.unsorted >new.db`;
$? && error("Error sorting the patched pci.ids file");