diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-09-25 03:07:48 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-09-25 03:07:48 -0400 |
commit | 73fd5071307c8159e2422897d3d76dcca5df2b17 (patch) | |
tree | 69390f8a05042fa137287b9bc6ffd9bcf52d3b87 | |
parent | f9f79fb867a605051dea4348f5698d0af1d2d52a (diff) |
make_repo_torrents: Don't strip slash just to add it back in
-rwxr-xr-x | cron-jobs/make_repo_torrents | 2 |
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 |