=================================================================== RCS file: /cvs/openbsd/OpenBSDTorrents/MakeTorrents.pl,v retrieving revision 1.15 retrieving revision 1.20 diff -u -r1.15 -r1.20 --- openbsd/OpenBSDTorrents/MakeTorrents.pl 2005/05/06 21:03:55 1.15 +++ openbsd/OpenBSDTorrents/MakeTorrents.pl 2006/07/24 19:03:53 1.20 @@ -1,5 +1,6 @@ -#!/usr/bin/perl -T -#$Id: MakeTorrents.pl,v 1.15 2005/05/06 20:03:55 andrew Exp $ +#!/usr/bin/perl +# -T +#$RedRiver: MakeTorrents.pl,v 1.19 2006/05/15 18:47:04 andrew Exp $ use strict; use warnings; use diagnostics; @@ -110,11 +111,9 @@ my $torrent_with_path = $OBT->{DIR_NEW_TORRENT} . "/$torrent"; - $t = BT::MetaInfo::Cached->new( - $torrent, + my $t = BT::MetaInfo::Cached->new( { - cache_root => - $OBT->{DIR_HOME} . '/FileCache' + cache_root => '/tmp/OBTFileCache' } );