From 33aa00bdc0f62fda018443457b19efb4464dd763 Mon Sep 17 00:00:00 2001 From: udeved Date: Mon, 13 Feb 2017 21:45:01 +0100 Subject: [PATCH] util-publish: add verbose mktorrent_arg --- lib/util-publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-publish.sh b/lib/util-publish.sh index c868205..70597a6 100644 --- a/lib/util-publish.sh +++ b/lib/util-publish.sh @@ -56,7 +56,7 @@ make_torrent(){ for iso in $(ls ${src_dir}/*.iso);do local seed=${host}/project/${project}/${target_dir}/${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" mktorrent ${mktorrent_args[*]} -o ${iso}.torrent ${iso} done