forked from sig_core/toolkit
Ensure torrent generation goes to separate directories
This commit is contained in:
parent
81cf38ec13
commit
dd1d5de120
@ -79,10 +79,10 @@ for torrent_directory in "${TORRENT_DOWNLOAD_DIR}"/Rocky-"${REVISION}"-*; do
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
torrenttools create \
|
torrenttools create \
|
||||||
--announce "${TORRENT_TRACKERS[@]}" --name "${name}" \
|
--announce "${TORRENT_TRACKERS[@]}" --name "${name}" \
|
||||||
--exclude "${TORRENT_EXCLUDES}" --output "${TORRENT_START_DIR}" \
|
--exclude "${TORRENT_EXCLUDES}" --output "${TORRENT_START_DIR}/${torrent_directory##*/}" \
|
||||||
--threads "${THREADS}" --comment "${TORRENT_COMMENT}" \
|
--threads "${THREADS}" --comment "${TORRENT_COMMENT}" \
|
||||||
"${torrent_directory}"
|
"${torrent_directory}"
|
||||||
res=$?
|
res=$?
|
||||||
if [[ $res -ne 0 ]]; then
|
if [[ $res -ne 0 ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user