Commit e6ae6aaa authored by Bernhard Landauer's avatar Bernhard Landauer

fix torrent seed url

parent 1f00082b
......@@ -27,7 +27,7 @@ make_torrent(){
if [[ -n $(find ${src_dir} -type f -name "*.iso") ]]; then
for iso in $(ls ${src_dir}/*.iso);do
local seed=${host}/projects/${project}/storage/${profile}/${iso##*/}
local seed=${host}/projects/${project}/storage/${profile}/${dist_release}/${iso##*/}
local mktorrent_args=(-c "${torrent_meta}" -p -l ${piece_size} -a ${tracker_url} -w $(gen_webseed ${seed}))
${verbose} && mktorrent_args+=(-v)
msg2 "Creating (%s) ..." "${iso##*/}.torrent"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment