summaryrefslogtreecommitdiff
path: root/cron-jobs/make_repo_torrents
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 18:30:39 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 18:30:39 -0300
commitfa4ff798507ded0b26dcdc310d1f97e2e61198c4 (patch)
treeb1a7a66b187fb3825f24fba79603a19bd9036127 /cron-jobs/make_repo_torrents
parenta6f91db681e302763b687bb47abb5d258948007b (diff)
rename FTP_BASE -> root_dir
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}"