[BACK]Return to MakeTorrents.pl CVS log [TXT][DIR] Up to [local] / openbsd / OpenBSDTorrents

Diff for /openbsd/OpenBSDTorrents/MakeTorrents.pl between version 1.14 and 1.17

version 1.14, 2005/05/05 22:45:03 version 1.17, 2005/05/20 01:18:24
Line 110 
Line 110 
   
     my $torrent_with_path = $OBT->{DIR_NEW_TORRENT} . "/$torrent";      my $torrent_with_path = $OBT->{DIR_NEW_TORRENT} . "/$torrent";
   
     my $t = BT::MetaInfo::Cached->new();      my $t = BT::MetaInfo::Cached->new(
           {
               cache_root =>
               $OBT->{DIR_HOME} . '/FileCache'
           }
       );
   
     $t->name($name);      $t->name($name);
     $t->announce($announce);      $t->announce($announce);
     unless ($announce =~ m!^http://[^/]+/!i) {      unless ($announce =~ m!^http://[^/]+/!i) {
Line 123 
Line 129 
     #    }      #    }
     #}      #}
     $t->piece_length($piece_len);      $t->piece_length($piece_len);
     $t->creation_date(time);      $t->creation_date(gmtime);
     print "Checksumming files. This may take a little while...\n";      print "Checksumming files. This may take a little while...\n";
     $t->set_files(@$files);      $t->set_files(@$files);
   

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.17

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>