Commit 1262b50b authored by Bernhard Landauer's avatar Bernhard Landauer

[util-publish] webseed use shorturl

parent 1a6e4a27
......@@ -20,7 +20,7 @@ make_torrent(){
if [[ -n $(find ${src_dir} -type f -name "*.iso") ]]; then
for iso in $(ls ${src_dir}/*.iso); do
local seed=https://${host}/projects/${project}/storage/${profile}/${dist_release}/${iso##*/}
local seed=https://${host}/dl/${project}/${iso##*/}
local mktorrent_args=(-c "${torrent_meta}" -p -l ${piece_size} -a ${tracker_url} -w ${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