summaryrefslogtreecommitdiff
path: root/cron-jobs/make_repo_torrents
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/make_repo_torrents')
-rwxr-xr-xcron-jobs/make_repo_torrents4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-jobs/make_repo_torrents b/cron-jobs/make_repo_torrents
index 2eb0978..bb59d2f 100755
--- a/cron-jobs/make_repo_torrents
+++ b/cron-jobs/make_repo_torrents
@@ -34,8 +34,8 @@ esac
# so it's OK to just stuff all the torrents into a single directory.
script_directory="$(dirname "$(readlink -e "$0")")/.."
. "$(dirname "$(readlink -e "$0")")/../config"
-public_location="$FTP_BASE/"
-torrent_location="$FTP_BASE/torrents/"
+public_location="${root_dir}/"
+torrent_location="${root_dir}/torrents/"
cd "${torrent_location}"