summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-04-28 21:05:33 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-04-28 21:05:33 -0700
commit14510bcfe2f4639f971d6c478124648eb1e26a6b (patch)
tree149f9ec6770642cb5d429491f00fbfd6356fdcf6 /mirmon-snapshots.sh
parentmirmon-snapshots.sh: test refactor of runner (diff)
downloadgentoo-mirrorstats-14510bcfe2f4639f971d6c478124648eb1e26a6b.tar.gz
gentoo-mirrorstats-14510bcfe2f4639f971d6c478124648eb1e26a6b.tar.bz2
gentoo-mirrorstats-14510bcfe2f4639f971d6c478124648eb1e26a6b.zip
snapshots: fix var dir switch
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'mirmon-snapshots.sh')
-rwxr-xr-xmirmon-snapshots.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirmon-snapshots.sh b/mirmon-snapshots.sh
index 894e94b..ee0338b 100755
--- a/mirmon-snapshots.sh
+++ b/mirmon-snapshots.sh
@@ -6,7 +6,7 @@ MODE=snapshots
SRC=distfiles
SITEDIR=/var/www/mirrorstats.gentoo.org
REPODIR=${SITEDIR}/gentoo-mirrorstats/
-MODEDIR=${SITEDIR}/${MODE}_mirrors/
+MODEDIR=${REPODIR}/${MODE}_mirrors/
VARDIR=${SITEDIR}/var/${MODE}
HTDOCS=${SITEDIR}/htdocs/${MODE}
MIRMON=$(readlink -f "${SITEDIR}"/mirmon/mirmon)