Ensure torrent generation goes to separate directories
Some checks failed
Build empanada images for imagefactory / buildx (push) Failing after 4s
Build empanada container images for lorax / buildx (push) Successful in 1s

This commit is contained in:
Louis Abel 2023-11-29 18:57:08 -07:00
parent 81cf38ec13
commit dd1d5de120
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -79,10 +79,10 @@ for torrent_directory in "${TORRENT_DOWNLOAD_DIR}"/Rocky-"${REVISION}"-*; do
continue
fi
torrenttools create \
--announce "${TORRENT_TRACKERS[@]}" --name "${name}" \
--exclude "${TORRENT_EXCLUDES}" --output "${TORRENT_START_DIR}" \
--threads "${THREADS}" --comment "${TORRENT_COMMENT}" \
torrenttools create \
--announce "${TORRENT_TRACKERS[@]}" --name "${name}" \
--exclude "${TORRENT_EXCLUDES}" --output "${TORRENT_START_DIR}/${torrent_directory##*/}" \
--threads "${THREADS}" --comment "${TORRENT_COMMENT}" \
"${torrent_directory}"
res=$?
if [[ $res -ne 0 ]]; then