summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-09-25 03:07:48 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-09-25 03:07:48 -0400
commit73fd5071307c8159e2422897d3d76dcca5df2b17 (patch)
tree69390f8a05042fa137287b9bc6ffd9bcf52d3b87
parentf9f79fb867a605051dea4348f5698d0af1d2d52a (diff)
make_repo_torrents: Don't strip slash just to add it back in
-rwxr-xr-xcron-jobs/make_repo_torrents2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/make_repo_torrents b/cron-jobs/make_repo_torrents
index 8ef7933..a059ee8 100755
--- a/cron-jobs/make_repo_torrents
+++ b/cron-jobs/make_repo_torrents
@@ -40,7 +40,7 @@ for pkgfile in "$FTP_BASE"/pool/*/*${PKGEXTS}; do
# Create the .torrent
mktorrent \
--announce="${TRACKERS[*]}" \
- --web-seed="${WEBSEEDS[*]/%/"/${pkgfile#"${FTP_BASE}/"}"}" \
+ --web-seed="${WEBSEEDS[*]/%/"${pkgfile#"${FTP_BASE}"}"}" \
-- "${pkgfile}" >/dev/null
fi
done