=================================================================== RCS file: /cvs/openbsd/OpenBSDTorrents/CurrentTorrents.pl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- openbsd/OpenBSDTorrents/CurrentTorrents.pl 2005/03/24 00:20:33 1.4 +++ openbsd/OpenBSDTorrents/CurrentTorrents.pl 2005/03/24 00:32:02 1.5 @@ -1,5 +1,5 @@ #!/usr/bin/perl -T -#$Id: CurrentTorrents.pl,v 1.4 2005/03/24 00:20:33 andrew Exp $ +#$Id: CurrentTorrents.pl,v 1.5 2005/03/24 00:32:02 andrew Exp $ use strict; use warnings; use diagnostics; @@ -62,7 +62,7 @@ $files{$name}{$epoch}{comment} = $t->{comment}; my ($path) = $t->{comment} =~ /Files from ([^\n]+)\n/s; - unless (-d "$TorrentDir/$path") { + unless (-d "$BaseDir/$path") { print "Deleting $files{$name}{$epoch}{file} the path doesn't exist.\n"; push @delete, $files{$name}{$epoch}{file}; }