diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-23 18:30:39 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-23 18:30:39 -0300 |
commit | fa4ff798507ded0b26dcdc310d1f97e2e61198c4 (patch) | |
tree | b1a7a66b187fb3825f24fba79603a19bd9036127 /cron-jobs/make_repo_torrents | |
parent | a6f91db681e302763b687bb47abb5d258948007b (diff) |
rename FTP_BASE -> root_dir
Diffstat (limited to 'cron-jobs/make_repo_torrents')
-rwxr-xr-x | cron-jobs/make_repo_torrents | 4 |
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}" |