forked from mirrored-repos/manjaro-tools
fix torrent seed url
This commit is contained in:
parent
1f00082bb6
commit
e6ae6aaa3f
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue