create torrent from raw basename

the file on the servers we want is the raw not the output (that's the
name without the .raw suffix)
This commit is contained in:
Harald Sitter
2024-11-06 16:27:02 +01:00
parent ad734333a6
commit 75bc73d176

View File

@@ -36,7 +36,7 @@ base_args = %w[transmission-create
--tracker udp://explodie.org:6969/announce]
webseed_args = mirror_list.map do |url|
["--webseed", "#{url}kde-linux/#{File.basename(OUTPUT)}"]
["--webseed", "#{url}kde-linux/#{File.basename(RAW)}"]
end.flatten
args = base_args + webseed_args