diff --git a/converter.pl b/converter.pl index 12ae2ae..b3be60f 100755 --- a/converter.pl +++ b/converter.pl @@ -223,7 +223,7 @@ sub msc if ($output and $passkey and not $notorrent) { print "\nCreating torrent... "; - my $torrent_create = 'mktorrent -p -a http://apollo.rip:2095/' . $passkey . '/announce -o "' . $torrent_dir . basename($mp3_dir) . '.torrent" "' . $mp3_dir . '"'; + my $torrent_create = 'mktorrent -p -a http://apollo.rip:2095/' . $passkey . '/announce -o "' . $pwd .'/' . basename($mp3_dir) . '.torrent" "' . $mp3_dir . '"'; print "'$torrent_create'\n"; system($torrent_create); }