From 75bc73d17623a9e2d9539b5a8391dd72e7f4213a Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Wed, 6 Nov 2024 16:27:02 +0100 Subject: [PATCH] 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) --- torrent-create.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent-create.rb b/torrent-create.rb index 0245864..25bcc75 100755 --- a/torrent-create.rb +++ b/torrent-create.rb @@ -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